[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:
Evgeniy Stepanov 2014-01-21 11:04:58 +00:00
parent 0714b7b31b
commit e676aadecf
1 changed files with 2 additions and 4 deletions

View File

@ -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