Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix ``test_frame_pointer_unwind`` when Python is built with
:option:`--enable-shared`. Classify also libpython frames as ``"python"``.
Patch by Victor Stinner.
4 changes: 4 additions & 0 deletions Modules/_testinternalcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ classify_address(uintptr_t addr, int jit_enabled, PyInterpreterState *interp)
if (strncmp(base, "python", 6) == 0) {
return "python";
}
// Match "libpython3.15.so.1.0"
if (strncmp(base, "libpython", 9) == 0) {
return "python";
}
return "other";
}
#ifdef _Py_JIT
Expand Down
Loading