diff options
author | Nico Weber <nicolasweber@gmx.de> | 2017-04-11 14:28:49 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2017-04-11 14:28:49 +0000 |
commit | 056881d0b45d6148ab00fa12cb58cd75e4f64e48 (patch) | |
tree | ab59c971536aed0199a879cd88690d2b86fe14b9 /test/lsan/lit.common.cfg | |
parent | da0f8e2b7891543e9e98e2afadbbabb5e3eea16b (diff) |
Revert r299923, it doesn't build in bootstrap builds.
FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o
lib/sanitizer_common/sanitizer_linux.cc:1340:24: error: invalid instruction
BLX(ip)
^
lib/sanitizer_common/sanitizer_linux.cc:1313:19: note: expanded from macro 'BLX'
# define BLX(R) "mov lr, pc; bx" #R "\n"
^
<inline asm>:6:13: note: instantiated into assembly here
mov lr, pc; bxip
^~~~
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lsan/lit.common.cfg')
-rw-r--r-- | test/lsan/lit.common.cfg | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/lsan/lit.common.cfg b/test/lsan/lit.common.cfg index f47d76e6d..8580eec33 100644 --- a/test/lsan/lit.common.cfg +++ b/test/lsan/lit.common.cfg @@ -3,7 +3,6 @@ # Common configuration for running leak detection tests under LSan/ASan. import os -import re import lit.util @@ -53,11 +52,7 @@ config.substitutions.append( ("%clang_lsan ", build_invocation(clang_lsan_cflags config.substitutions.append( ("%clangxx_lsan ", build_invocation(clang_lsan_cxxflags)) ) # LeakSanitizer tests are currently supported on x86-64 Linux and mips64 Linux only. -if config.host_os not in ['Linux'] or config.host_arch not in ['x86_64', 'mips64', 'arm', 'armhf']: - config.unsupported = True - -# Don't support Thumb due to broken fast unwinder -if re.match('-mthumb', config.target_cflags): +if config.host_os not in ['Linux'] or config.host_arch not in ['x86_64', 'mips64']: config.unsupported = True config.suffixes = ['.c', '.cc', '.cpp'] |