[PATCH] [compiler-rt] Use @rpath as LC_ID_DYLIB for ASan dylib on OS X

Kuba Brecka kuba.brecka at gmail.com
Tue Oct 28 21:15:35 PDT 2014


Updated the patch to also add @executable_path to rpath to support having the dylib next to the executable. Added comments explaining the use cases. Added a clang test case.

http://reviews.llvm.org/D6018

Files:
  projects/compiler-rt/lib/asan/CMakeLists.txt
  projects/compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.c
  tools/clang/lib/Driver/ToolChains.cpp
  tools/clang/lib/Driver/ToolChains.h
  tools/clang/test/Driver/darwin-asan-rpath.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6018.15538.patch
Type: text/x-patch
Size: 5502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141029/3a081b47/attachment.bin>


More information about the llvm-commits mailing list