[compiler-rt] r229714 - [ASan] Set DYLD_LIBRARY_PATH on Darwin

Greg Fitzgerald garious at gmail.com
Wed Feb 18 10:26:58 PST 2015


Author: garious
Date: Wed Feb 18 12:26:58 2015
New Revision: 229714

URL: http://llvm.org/viewvc/llvm-project?rev=229714&view=rev
Log:
[ASan] Set DYLD_LIBRARY_PATH on Darwin

Differential Revision: http://reviews.llvm.org/D7706

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

Modified: compiler-rt/trunk/test/asan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg?rev=229714&r1=229713&r2=229714&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg (original)
+++ compiler-rt/trunk/test/asan/lit.cfg Wed Feb 18 12:26:58 2015
@@ -17,6 +17,8 @@ def get_required_attr(config, attr_name)
 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'
 





More information about the llvm-commits mailing list