forked from OSchip/llvm-project
bb39671516
MaybeReexec() in asan_mac.cc checks for presence of the ASan dylib in DYLD_INSERT_LIBRARIES, and if it is there, it will process this env. var. and remove the dylib from its value, so that spawned children don't have this variable set. However, the current implementation only works when using a canonical absolute path to the dylib, it fails to remove the dylib for example when using @executable_path. This patch changes the processing of DYLD_INSERT_LIBRARIES to comparing values only based on filenames (ignoring directories). Reviewed at http://reviews.llvm.org/D7160 llvm-svn: 228392 |
||
---|---|---|
.. | ||
address-range-limit.mm | ||
asan_gen_prefixes.cc | ||
crashlog-stacktraces.c | ||
cstring_literals_regtest.mm | ||
dyld_insert_libraries_reexec.cc | ||
dyld_insert_libraries_remove.cc | ||
interception-in-shared-lib-test.cc | ||
interface_symbols_darwin.c | ||
linked-only.cc | ||
lit.local.cfg | ||
malloc_set_zone_name-mprotect.cc | ||
malloc_zone-protected.cc | ||
mixing-global-constructors.cc | ||
objc-odr.mm | ||
reexec-insert-libraries-env.cc | ||
suppressions-darwin.cc | ||
unset-insert-libraries-on-exec.cc |