Skip to content

Commit

Permalink
support aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
goroya committed Feb 10, 2019
1 parent 46086bf commit 13ad0a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/death_handler.cpp
Expand Up @@ -603,6 +603,8 @@ void DeathHandler::SignalHandler (int sig, void * /* info */, void *secret)
// Overwrite sigaction with caller's address
#if defined(__arm__)
trace[1] = reinterpret_cast<void *> (uc->uc_mcontext.arm_pc);
#elif defined(__aarch64__)
trace[1] = reinterpret_cast<void *> (uc->uc_mcontext.pc);
#else
#if !defined(__i386__) && !defined(__x86_64__)
#error Only ARM, x86 and x86-64 are supported
Expand Down

0 comments on commit 13ad0a0

Please sign in to comment.