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 | c2a089508d04e5ab32ccaf4953dd8a8a67df6c2c (patch) | |
tree | 2ab63e151e4e8b684078310d9245e430667b8d0c | |
parent | 6d406c31f48671c8074d4255d7c5f54440f6811f (diff) | |
download | compiler-rt-c2a089508d04e5ab32ccaf4953dd8a8a67df6c2c.tar.gz |
Enable leak-detection for NetBSD/amd64 in test/asan
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@371335 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/asan/lit.cfg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/asan/lit.cfg.py b/test/asan/lit.cfg.py index ebf8d4829..afdc92aba 100644 --- a/test/asan/lit.cfg.py +++ b/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. |