[all-commits] [llvm/llvm-project] fa2725: [sanitizer] Fall back to fast unwinder
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri May 14 12:27:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fa27255d16c322e2d09b5fe05d2b569634f0fb6f
https://github.com/llvm/llvm-project/commit/fa27255d16c322e2d09b5fe05d2b569634f0fb6f
Author: Fangrui Song <i at maskray.me>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp
A compiler-rt/test/sanitizer_common/TestCases/Linux/symbolize_stack_fp.cpp
Log Message:
-----------
[sanitizer] Fall back to fast unwinder
`-fno-exceptions -fno-asynchronous-unwind-tables` compiled programs don't
produce .eh_frame on Linux and other ELF platforms, so the slow unwinder cannot
print stack traces. Just fall back to the fast unwinder: this allows
-fno-asynchronous-unwind-tables without requiring the sanitizer option
`fast_unwind_on_fatal=1`
Reviewed By: #sanitizers, vitalybuka
Differential Revision: https://reviews.llvm.org/D102046
More information about the All-commits
mailing list