Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information