From 056881d0b45d6148ab00fa12cb58cd75e4f64e48 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 11 Apr 2017 14:28:49 +0000 Subject: 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" ^ :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 --- test/lsan/lit.common.cfg | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'test/lsan/lit.common.cfg') 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'] -- cgit v1.2.3