We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1e1c1 commit 09d02eeCopy full SHA for 09d02ee
src/memray/_memray/ghost_stack/src/ghost_stack.cpp
@@ -526,16 +526,6 @@ class GhostStackImpl
526
ip = ptrauth_strip(ip);
527
#endif
528
529
- // On ARM64 Linux, unw_backtrace returns addresses adjusted by -1
530
- // (to point inside the call instruction for symbolization),
531
- // but unw_get_reg(UNW_REG_IP) returns the raw return address.
532
- // Adjust to match unw_backtrace's behavior for consistency.
533
-#if defined(GS_ARCH_AARCH64) && defined(__linux__)
534
- if (ip > 0) {
535
- ip = ip - 1;
536
- }
537
-#endif
538
-
539
// Get location where return address is stored
540
uintptr_t* ret_loc = nullptr;
541
#ifdef __linux__
0 commit comments