diff options
author | Walter Lee <waltl@google.com> | 2017-11-16 23:29:19 +0000 |
---|---|---|
committer | Walter Lee <waltl@google.com> | 2017-11-16 23:29:19 +0000 |
commit | abaa3bfbc22b0efda02de641cce007a423ed46d8 (patch) | |
tree | 32259854e3c10756996a41c6eba5471d761d6635 /lib/asan/tests/asan_asm_test.cc | |
parent | c09ddbcdcff289ab551f32a3dc28d679bc80c126 (diff) |
[asan] Properly mark or disable tests that only work with shadow scale of 3
Differential Revision: https://reviews.llvm.org/D39774
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_asm_test.cc')
-rw-r--r-- | lib/asan/tests/asan_asm_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asan/tests/asan_asm_test.cc b/lib/asan/tests/asan_asm_test.cc index 2bb37946b..91f8aacd6 100644 --- a/lib/asan/tests/asan_asm_test.cc +++ b/lib/asan/tests/asan_asm_test.cc @@ -12,7 +12,8 @@ //===----------------------------------------------------------------------===// #include "asan_test_utils.h" -#if defined(__linux__) +#if defined(__linux__) && \ + (!defined(ASAN_SHADOW_SCALE) || ASAN_SHADOW_SCALE == 3) // Assembly instrumentation is broken on x86 Android (x86 + PIC + shared runtime // library). See https://github.com/google/sanitizers/issues/353 |