diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2018-05-24 16:16:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 16:16:12 +0200 |
commit | b23a501135e573e285522d7f74982c3fb3fde2ab (patch) | |
tree | b5dc6a19b71d3aa8aa935cd204cfd58703425e50 /src/debug.c | |
parent | 18b7f71130ca001f47d605f8e03a99cf1785d54f (diff) | |
parent | c8ca71d40bc51e255457cd4374dd45ec9ebf8ae1 (diff) | |
download | redis-b23a501135e573e285522d7f74982c3fb3fde2ab.tar.gz |
Merge pull request #4099 from JunHe77/aarch64_stack_cflag
Fixed stack trace generation on aarch64
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index 293dbe36e..f239eea5a 100644 --- a/src/debug.c +++ b/src/debug.c @@ -688,6 +688,8 @@ static void *getMcontextEip(ucontext_t *uc) { return (void*) uc->uc_mcontext.sc_ip; #elif defined(__arm__) /* Linux ARM */ return (void*) uc->uc_mcontext.arm_pc; + #elif defined(__aarch64__) /* Linux AArch64 */ + return (void*) uc->uc_mcontext.pc; #endif #else return NULL; |