Skip to content

Commit 8d20ad6

Browse files
committed
fix
1 parent 8ac912e commit 8d20ad6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ddprof-lib/src/main/cpp/safeAccess.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#if defined(__x86_64__)
3131
#define context_pc uc_mcontext.gregs[REG_RIP]
3232
#elif defined(__aarch64__)
33-
#define context_pc uc_mcontext.regs[REG_ELR]
33+
#define context_pc uc_mcontext.pc
3434
#endif
3535
#endif
3636

0 commit comments

Comments
 (0)