We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8afbf3 commit 14f1990Copy full SHA for 14f1990
compiler-rt/test/asan/lit.cfg.py
@@ -197,7 +197,8 @@ def build_invocation(compile_flags):
197
# Turn on leak detection on 64-bit Linux.
198
leak_detection_linux = (config.host_os == 'Linux') and (not config.android) and (config.target_arch == 'x86_64' or config.target_arch == 'i386')
199
leak_detection_mac = (config.host_os == 'Darwin') and (config.target_arch == 'x86_64')
200
-if leak_detection_linux or leak_detection_mac:
+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:
202
config.available_features.add('leak-detection')
203
204
# Set LD_LIBRARY_PATH to pick dynamic runtime up properly.
0 commit comments