Commit 8be48a3
committed
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 <pablogsal@gmail.com>1 parent 8635569 commit 8be48a3
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
174 | 178 | | |
175 | | - | |
| 179 | + | |
176 | 180 | | |
177 | 181 | | |
178 | | - | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
0 commit comments