The cache invalidation might fail if a new function is allocated at the same address as the cached one.
This happens to me on the M2 after I delete a function and then allocate a new one which leads to return a nullptr for cached values and results in a crash.
|
if (func != impl->last_func) { |