diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-09-14 20:25:51 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-09-14 20:25:51 +0000 |
commit | 8bb104b5875922dc379fbe3e8ecee7d5c93ab45f (patch) | |
tree | 06f0efe2bfdd0430ba9cd48a7f2d01b07606741f | |
parent | 23f06e53d8c2febb80192f6ff93bce78a6af011d (diff) | |
download | bcm5719-llvm-8bb104b5875922dc379fbe3e8ecee7d5c93ab45f.tar.gz bcm5719-llvm-8bb104b5875922dc379fbe3e8ecee7d5c93ab45f.zip |
[asan] Disable 64-bit allocator on android/aarch64.
Makes the device strangely unstable, and fails one sanitizer_common test.
llvm-svn: 281533
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h index 859e9127314..904e0b34ec6 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h @@ -168,9 +168,7 @@ // For such platforms build this code with -DSANITIZER_CAN_USE_ALLOCATOR64=0 or // change the definition of SANITIZER_CAN_USE_ALLOCATOR64 here. #ifndef SANITIZER_CAN_USE_ALLOCATOR64 -# if SANITIZER_ANDROID && defined(__aarch64__) -# define SANITIZER_CAN_USE_ALLOCATOR64 1 -# elif defined(__mips64) || defined(__aarch64__) +#if defined(__mips64) || defined(__aarch64__) # define SANITIZER_CAN_USE_ALLOCATOR64 0 # else # define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64) |