Skip to content

Cache invalidated might fail on Mac M1/M2 #640

@pgarba

Description

@pgarba

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) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions