Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid patching symbols in the extension module #685

Merged
merged 1 commit into from
Sep 19, 2024

Commits on Sep 19, 2024

  1. Avoid patching symbols in the extension module

    The fact that patching ourselves had not raised problems so far its
    really an outstanding fact in this universe. Unfortunately seems that
    with the latest toolchain + GCC there is something that causes memray to
    point the d_original entry of the hooks pointing to itself, which should
    never happen.
    
    To fix this resiliently, avoid patching ourselves by getting our own
    name in the extension module and then avoiding that shared object.
    
    Signed-off-by: Pablo Galindo <[email protected]>
    pablogsal committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ab83fcb View commit details
    Browse the repository at this point in the history