Skip to content

Commit 14f1990

Browse files
committed
Enable leak-detection for NetBSD/amd64 in test/asan
llvm-svn: 371335
1 parent c8afbf3 commit 14f1990

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/test/asan/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ def build_invocation(compile_flags):
197197
# Turn on leak detection on 64-bit Linux.
198198
leak_detection_linux = (config.host_os == 'Linux') and (not config.android) and (config.target_arch == 'x86_64' or config.target_arch == 'i386')
199199
leak_detection_mac = (config.host_os == 'Darwin') and (config.target_arch == 'x86_64')
200-
if leak_detection_linux or leak_detection_mac:
200+
leak_detection_netbsd = (config.host_os == 'NetBSD') and (config.target_arch == 'x86_64')
201+
if leak_detection_linux or leak_detection_mac or leak_detection_netbsd:
201202
config.available_features.add('leak-detection')
202203

203204
# Set LD_LIBRARY_PATH to pick dynamic runtime up properly.

0 commit comments

Comments
 (0)