summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2014-11-04 17:34:50 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2014-11-04 17:34:50 +0000
commit6c22aec23c5340448d6d64f4fc3b6791569c5255 (patch)
treed71697e059663e7886a599dc181659ed4cadf8e3 /clang/test
parentcc2502d8f37fbf4ea2473733000b8dc2a13d308e (diff)
downloadbcm5719-llvm-6c22aec23c5340448d6d64f4fc3b6791569c5255.tar.gz
bcm5719-llvm-6c22aec23c5340448d6d64f4fc3b6791569c5255.zip
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
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud