summaryrefslogtreecommitdiff
path: root/test/asan/lit.cfg
diff options
context:
space:
mode:
authorMaxim Ostapenko <m.ostapenko@partner.samsung.com>2017-01-31 07:15:37 +0000
committerMaxim Ostapenko <m.ostapenko@partner.samsung.com>2017-01-31 07:15:37 +0000
commitf9b0137a0dafa41f6834fd25c1aebe6314091dec (patch)
tree229ad9b98435ef7f58f947d9f643f5137802c2bd /test/asan/lit.cfg
parent1490662a76d7488609ed993cf4499b26e3a6774f (diff)
[lsan] Renable LSan for x86 Linux
The missed clang part was committed at https://reviews.llvm.org/rL293609 thus we can reenable LSan for x86 Linux. Differential Revision: https://reviews.llvm.org/D28609 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@293610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/lit.cfg')
-rw-r--r--test/asan/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/lit.cfg b/test/asan/lit.cfg
index 5ebe414d4..0a4856b11 100644
--- a/test/asan/lit.cfg
+++ b/test/asan/lit.cfg
@@ -205,7 +205,7 @@ if config.target_arch != 'arm' and config.target_arch != 'armhf' and config.targ
config.available_features.add('stable-runtime')
# Turn on leak detection on 64-bit Linux.
-if config.host_os == 'Linux' and config.target_arch == 'x86_64':
+if config.host_os == 'Linux' and (config.target_arch == 'x86_64' or config.target_arch == 'i386'):
config.available_features.add('leak-detection')
# Set LD_LIBRARY_PATH to pick dynamic runtime up properly.