Fix program counter name in aarch64

This commit is contained in:
Andrea Cavalli 2020-09-05 16:32:52 +02:00
parent 8fb0a0673e
commit f592ba6969

View File

@ -560,7 +560,7 @@ void DeathHandler::HandleSignal(int sig, void * /* info */, void *secret) {
#ifdef __linux__
#if defined(__arm__) || defined(__aarch64__)
#if defined(__aarch64__)
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.arm_pc);
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.pc);
#else
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.arm_pc);
#endif