summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2019-09-08 23:53:36 +0000
committerKamil Rytarowski <n54@gmx.com>2019-09-08 23:53:36 +0000
commit99ce9876124e910475c627829bf14326b8073a9d (patch)
tree512d2908fc0dc8f24cb644255732a9651431006e
parent02d881a6cb82e073eb66c3b1017293cbff0e618c (diff)
downloadcompiler-rt-99ce9876124e910475c627829bf14326b8073a9d.tar.gz
Enable LSan for NetBSD/i386 in test/asan/lit.cfg.py
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@371354 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/lit.cfg.py b/test/asan/lit.cfg.py
index afdc92aba..45b8ffc96 100644
--- a/test/asan/lit.cfg.py
+++ b/test/asan/lit.cfg.py
@@ -197,7 +197,7 @@ if re.search('mthumb', config.target_cflags) is None:
# Turn on leak detection on 64-bit Linux.
leak_detection_linux = (config.host_os == 'Linux') and (not config.android) and (config.target_arch == 'x86_64' or config.target_arch == 'i386')
leak_detection_mac = (config.host_os == 'Darwin') and (config.target_arch == 'x86_64')
-leak_detection_netbsd = (config.host_os == 'NetBSD') and (config.target_arch == 'x86_64')
+leak_detection_netbsd = (config.host_os == 'NetBSD') and (config.target_arch in ['x86_64', 'i386'])
if leak_detection_linux or leak_detection_mac or leak_detection_netbsd:
config.available_features.add('leak-detection')