[PATCH] [ASan] set DYLD_LIBRARY_PATH on Darwin

Greg Fitzgerald garious at gmail.com
Wed Feb 18 10:29:17 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7706

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
@@ -17,6 +17,8 @@
 def push_dynamic_library_lookup_path(config, new_path):
   if platform.system() == 'Windows':
     dynamic_library_lookup_var = 'PATH'
+  elif platform.system() == 'Darwin':
+    dynamic_library_lookup_var = 'DYLD_LIBRARY_PATH'
   else:
     dynamic_library_lookup_var = 'LD_LIBRARY_PATH'

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7706.20200.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150218/967ae772/attachment.bin>


More information about the llvm-commits mailing list