summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2019-06-26 08:19:57 +0000
committerRainer Orth <ro@gcc.gnu.org>2019-06-26 08:19:57 +0000
commite6474e682aa49828ac32698ee513799d94e9f2dd (patch)
tree467fe0753e414e712b3249314b7159f6cb21082e
parent567eea44c251d24b484d0f5ff02c5fc99603533f (diff)
downloadbcm5719-llvm-e6474e682aa49828ac32698ee513799d94e9f2dd.tar.gz
bcm5719-llvm-e6474e682aa49828ac32698ee513799d94e9f2dd.zip
[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 llvm-svn: 364394
-rw-r--r--compiler-rt/test/asan/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/lit.cfg b/compiler-rt/test/asan/lit.cfg
index 76430b81226..132623f5e10 100644
--- a/compiler-rt/test/asan/lit.cfg
+++ b/compiler-rt/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))
OpenPOWER on IntegriCloud