Skip to content
Prev Previous commit
Next Next commit
fix
  • Loading branch information
zhengyu123 committed Jul 16, 2025
commit 8d20ad6b7d449a72b542c59c2e479ec0bdb0c8a4
2 changes: 1 addition & 1 deletion ddprof-lib/src/main/cpp/safeAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#if defined(__x86_64__)
#define context_pc uc_mcontext.gregs[REG_RIP]
#elif defined(__aarch64__)
#define context_pc uc_mcontext.regs[REG_ELR]
#define context_pc uc_mcontext.pc
#endif
#endif

Expand Down
Loading