diff options
author | Kostya Serebryany <kcc@google.com> | 2014-02-13 07:50:20 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-02-13 07:50:20 +0000 |
commit | 33465467e7f8243933100bab3cf8f34b79a8f54c (patch) | |
tree | 5a53e52285bb0a3269f926a9bb494ccb31eb05f3 /lib/sanitizer_common/sanitizer_stacktrace.h | |
parent | 927771be78db63881cd45397155ab3eff9f15780 (diff) | |
download | compiler-rt-33465467e7f8243933100bab3cf8f34b79a8f54c.tar.gz |
[sanitizer] AArch64 sanitizer support; patch by Christophe Lyon and Yvan Roux
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_stacktrace.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_stacktrace.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sanitizer_common/sanitizer_stacktrace.h b/lib/sanitizer_common/sanitizer_stacktrace.h index 9d067b1c9..c3ba193f4 100644 --- a/lib/sanitizer_common/sanitizer_stacktrace.h +++ b/lib/sanitizer_common/sanitizer_stacktrace.h @@ -19,8 +19,9 @@ namespace __sanitizer { static const uptr kStackTraceMax = 256; -#if SANITIZER_LINUX && (defined(__powerpc__) || defined(__powerpc64__) || \ - defined(__sparc__) || defined(__mips__)) +#if SANITIZER_LINUX && (defined(__aarch64__) || defined(__powerpc__) || \ + defined(__powerpc64__) || defined(__sparc__) || \ + defined(__mips__)) # define SANITIZER_CAN_FAST_UNWIND 0 #elif SANITIZER_WINDOWS # define SANITIZER_CAN_FAST_UNWIND 0 |