Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prefer libunwind on x86-64 even with -fno-omit-frame-pointer
Libunwind is mostly safe on x86-64 and most of OS (e.g. libc) is compiled without frame pointers anyways. Even when libc is built with frame pointers, various libc asm routines (e.g. memcpy) are not. And even for code built with frame pointers we actually sometimes get SIGPROF inside function prologues, before frame pointer is established. Which then causes imperfect backtraces. Libunwind should handle this all (when it doesn't crash or deadlock).
- Loading branch information