diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2019-06-26 08:19:57 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2019-06-26 08:19:57 +0000 |
commit | 56c8a0cb270bbbc3ed98cdc46cb365a4298aff05 (patch) | |
tree | c563d0147139e30158fcb93b6d4a6b2af4e6313b /test | |
parent | 96fe230942baecf5cf8f9b8d209c88760fb6b1b3 (diff) | |
download | compiler-rt-56c8a0cb270bbbc3ed98cdc46cb365a4298aff05.tar.gz |
[compiler-rt][test] Set shared_libasan_path in test/asan/lit.cfg on Solaris
While checking warnings from the Solaris buildbots, I noticed
llvm-lit: /opt/llvm-buildbot/home/solaris11-amd64/clang-solaris11-amd64/llvm/projects/compiler-rt/test/asan/lit.cfg:119: warning: %shared_libasan substitution not set but dynamic ASan is available.
Fixed as follows. Tested on x86_64-pc-solaris2.11.
Differential Revision: https://reviews.llvm.org/D63761
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@364394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/asan/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/lit.cfg b/test/asan/lit.cfg index 76430b812..132623f5e 100644 --- a/test/asan/lit.cfg +++ b/test/asan/lit.cfg @@ -111,7 +111,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 in ['Linux', 'NetBSD']: + if config.host_os in ['Linux', 'NetBSD', 'SunOS']: 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)) |