diff options
| author | Kamil Rytarowski <n54@gmx.com> | 2018-12-14 15:58:05 +0000 |
|---|---|---|
| committer | Kamil Rytarowski <n54@gmx.com> | 2018-12-14 15:58:05 +0000 |
| commit | 2ae9783b4fc7a7a716e4a21f85c304632b527b10 (patch) | |
| tree | a41d55f4e307a44d40ff2a9be5d7aea6da577e14 | |
| parent | de6beb02a530a8da6e0525e99b9c1ab24252064e (diff) | |
| download | llvm-2ae9783b4fc7a7a716e4a21f85c304632b527b10.zip llvm-2ae9783b4fc7a7a716e4a21f85c304632b527b10.tar.gz llvm-2ae9783b4fc7a7a716e4a21f85c304632b527b10.tar.bz2 | |
Set shared_libasan_path in lit tests for NetBSD
Reuse the Linux code path.
llvm-svn: 349156
| -rw-r--r-- | compiler-rt/test/asan/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/lit.cfg b/compiler-rt/test/asan/lit.cfg index a5e3f7b..3deb4cc 100644 --- a/compiler-rt/test/asan/lit.cfg +++ b/compiler-rt/test/asan/lit.cfg @@ -102,7 +102,7 @@ config.substitutions.append( ("%clangxx ", build_invocation(target_cxxflags)) ) config.substitutions.append( ("%clang_asan ", build_invocation(clang_asan_cflags)) ) config.substitutions.append( ("%clangxx_asan ", build_invocation(clang_asan_cxxflags)) ) if config.asan_dynamic: - if config.host_os == 'Linux': + if config.host_os in ['Linux', 'NetBSD']: shared_libasan_path = os.path.join(config.compiler_rt_libdir, "libclang_rt.asan{}.so".format(config.target_suffix)) elif config.host_os == 'Darwin': shared_libasan_path = os.path.join(config.compiler_rt_libdir, 'libclang_rt.asan_{}_dynamic.dylib'.format(config.apple_platform)) |
