llvm-project/compiler-rt/test/asan
Kuba Brecka 6c22aec23c Use @rpath as LC_ID_DYLIB for ASan dylib on OS X
Change the LC_ID_DYLIB of ASan's dynamic libraries on OS X to be set to "@rpath/libclang_rt.asan_osx_dynamic.dylib" and similarly for iossim. Clang driver then sets the "-rpath" to be the real path to where clang currently has the dylib (because clang uses the relative path to its current executable). This means if you move the compiler or install the binary release, -fsanitize=address will link to the proper library.

Reviewed at http://reviews.llvm.org/D6018

llvm-svn: 221278
2014-11-04 17:34:50 +00:00
..
TestCases Use @rpath as LC_ID_DYLIB for ASan dylib on OS X 2014-11-04 17:34:50 +00:00
Unit [ASan] Optional support for dynamic ASan runtime on Linux. 2014-04-01 13:16:30 +00:00
android_commands [asan] Run Android test with asanwrapper. 2014-06-11 10:37:06 +00:00
CMakeLists.txt [asan][mips] Adding support of asan for mipsel arch 2014-10-10 13:46:55 +00:00
lit.cfg [sanitizer] Android build cleanup. 2014-09-29 13:18:55 +00:00
lit.site.cfg.in [sanitizer] Android build cleanup. 2014-09-29 13:18:55 +00:00