[CP】disable libunwind under aarch64

This commit is contained in:
obdev
2022-11-01 03:05:14 +00:00
committed by wangzelin.wzl
parent 3b3f41d34f
commit d687c3f8a7
8 changed files with 14 additions and 6 deletions

View File

@ -44,7 +44,9 @@ void crash_restore_handler(int sig, siginfo_t *s, void *p)
if (SIGSEGV == sig || SIGABRT == sig ||
SIGBUS == sig || SIGFPE == sig) {
int64_t len = 0;
#ifdef __x86_64__
safe_backtrace(crash_restore_buffer, 255, &len);
#endif
crash_restore_buffer[len++] = '\0';
siglongjmp(*g_jmp, 1);
} else {