forked from OSchip/llvm-project
[asan] Enable frame pointer based unwinder on ARM.
This code works with AAPCS-style {fp, lr} frames. Unlike linux perf, it does not unwind through code compiled with -mapcs-frame (which Clang does not support anyway). llvm-svn: 199725
This commit is contained in:
parent
0714b7b31b
commit
e676aadecf
|
@ -19,10 +19,8 @@ namespace __sanitizer {
|
|||
|
||||
static const uptr kStackTraceMax = 256;
|
||||
|
||||
#if SANITIZER_LINUX && (defined(__arm__) || \
|
||||
defined(__powerpc__) || defined(__powerpc64__) || \
|
||||
defined(__sparc__) || \
|
||||
defined(__mips__))
|
||||
#if SANITIZER_LINUX && (defined(__powerpc__) || defined(__powerpc64__) || \
|
||||
defined(__sparc__) || defined(__mips__))
|
||||
# define SANITIZER_CAN_FAST_UNWIND 0
|
||||
#elif SANITIZER_WINDOWS
|
||||
# define SANITIZER_CAN_FAST_UNWIND 0
|
||||
|
|
Loading…
Reference in New Issue