[LSAN] Disable on ARM/Thumb for good

I didn't pay enough attention to the patch I reverted, now I'm going to
hit it with a bigger hammer until we can understand what the problems
are.

llvm-svn: 300044
This commit is contained in:
Renato Golin 2017-04-12 10:12:49 +00:00
parent 31bde5863f
commit baf04f92bc
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ 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, arm Linux and mips64 Linux only.
if config.host_os not in ['Linux'] or config.host_arch not in ['x86_64', 'mips64', 'arm', 'armhf', armv7l]:
# LSAN breaks on Thumb, so disabling from all ARM targets until we sort this out. PR32636.
if config.host_os not in ['Linux'] or config.host_arch not in ['x86_64', 'mips64']:
config.unsupported = True
# Don't support Thumb due to broken fast unwinder