diff options
author | xtkoba <69125751+xtkoba@users.noreply.github.com> | 2021-03-24 22:24:44 +0900 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2021-04-19 08:36:31 -0700 |
commit | 0e7f74fad9cee71164c4face63c26885ecc43bd3 (patch) | |
tree | 049cac634e29a980116e8708b1ebe3cdd26d35e3 | |
parent | 03470738154e12bce4ed8804b880bcd2c6173a5e (diff) | |
download | libunwind-0e7f74fad9cee71164c4face63c26885ecc43bd3.tar.gz |
Fix `unw_tdep_context_t` for AArch64 Android
-rw-r--r-- | include/libunwind-aarch64.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libunwind-aarch64.h b/include/libunwind-aarch64.h index d8a451e6..a5265c46 100644 --- a/include/libunwind-aarch64.h +++ b/include/libunwind-aarch64.h @@ -203,7 +203,15 @@ typedef struct unsigned long uc_flags; struct ucontext *uc_link; stack_t uc_stack; +#ifndef __ANDROID__ sigset_t uc_sigmask; +#else + union { + sigset_t uc_sigmask; + sigset64_t uc_sigmask64; + }; + char __padding[128 - sizeof(sigset_t)]; +#endif struct unw_sigcontext uc_mcontext; } unw_tdep_context_t; |