[PATCH] D63761: [compiler-rt][test] Set shared_libasan_path in test/asan/lit.cfg on Solaris

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 01:20:16 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364394: [compiler-rt][test] Set shared_libasan_path in test/asan/lit.cfg on Solaris (authored by ro, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D63761?vs=206415&id=206610#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63761/new/

https://reviews.llvm.org/D63761

Files:
  compiler-rt/trunk/test/asan/lit.cfg


Index: compiler-rt/trunk/test/asan/lit.cfg
===================================================================
--- compiler-rt/trunk/test/asan/lit.cfg
+++ compiler-rt/trunk/test/asan/lit.cfg
@@ -111,7 +111,7 @@
 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))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63761.206610.patch
Type: text/x-patch
Size: 802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/5c184d6b/attachment.bin>


More information about the llvm-commits mailing list