[compiler-rt] r371354 - Enable LSan for NetBSD/i386 in test/asan/lit.cfg.py

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 8 16:53:36 PDT 2019


Author: kamil
Date: Sun Sep  8 16:53:36 2019
New Revision: 371354

URL: http://llvm.org/viewvc/llvm-project?rev=371354&view=rev
Log:
Enable LSan for NetBSD/i386 in test/asan/lit.cfg.py

Modified:
    compiler-rt/trunk/test/asan/lit.cfg.py

Modified: compiler-rt/trunk/test/asan/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg.py?rev=371354&r1=371353&r2=371354&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg.py (original)
+++ compiler-rt/trunk/test/asan/lit.cfg.py Sun Sep  8 16:53:36 2019
@@ -197,7 +197,7 @@ if re.search('mthumb', config.target_cfl
 # 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')
 




More information about the llvm-commits mailing list