diff options
author | Kamil Rytarowski <n54@gmx.com> | 2019-09-08 15:54:48 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2019-09-08 15:54:48 +0000 |
commit | 14f1990921f7d89b419a89c88587d1a282158d42 (patch) | |
tree | 5e631ab63eaeac90cdb51ffe4e279e2de8841897 /compiler-rt/test/asan | |
parent | c8afbf3d95d4b6758dd80fbe84ddb2204f18cc1a (diff) | |
download | bcm5719-llvm-14f1990921f7d89b419a89c88587d1a282158d42.tar.gz bcm5719-llvm-14f1990921f7d89b419a89c88587d1a282158d42.zip |
Enable leak-detection for NetBSD/amd64 in test/asan
llvm-svn: 371335
Diffstat (limited to 'compiler-rt/test/asan')
-rw-r--r-- | compiler-rt/test/asan/lit.cfg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/lit.cfg.py b/compiler-rt/test/asan/lit.cfg.py index ebf8d48297b..afdc92abaa1 100644 --- a/compiler-rt/test/asan/lit.cfg.py +++ b/compiler-rt/test/asan/lit.cfg.py @@ -197,7 +197,8 @@ 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') -if leak_detection_linux or leak_detection_mac: +leak_detection_netbsd = (config.host_os == 'NetBSD') and (config.target_arch == 'x86_64') +if leak_detection_linux or leak_detection_mac or leak_detection_netbsd: config.available_features.add('leak-detection') # Set LD_LIBRARY_PATH to pick dynamic runtime up properly. |