llvm-project/compiler-rt/test
Kuba Brecka 638bb4a2a3 Make the ASan OS X DYLD_INSERT_LIBRARIES detection path-independent
Reviewed at http://reviews.llvm.org/D6238

ASan on Darwin during launch reads DYLD_INSERT_LIBRARIES env. variable and if it's not set or if the ASan dylib is not present in there, it relaunches the process. The check whether the dylib is present in the variable is now trying to find a full path in there. This fails in the scenarios where we want to copy the dylib to the executable's directory or somewhere else and set the DYLD_INSERT_LIBRARIES manually, see http://reviews.llvm.org/D6018.

Let's change the search in DYLD_INSERT_LIBRARIES to only look for the filename of the dylib and not the full path.

llvm-svn: 222297
2014-11-19 01:31:59 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan Make the ASan OS X DYLD_INSERT_LIBRARIES detection path-independent 2014-11-19 01:31:59 +00:00
builtins Implement floatsitf, floatunstfsi, which perform 2014-09-16 20:34:41 +00:00
dfsan [dfsan] Add runtime function for aborting on indirect calls to 2014-11-05 17:21:11 +00:00
lsan Use "-gline-tables-only" instead of "-g" in sanitizer test suites. 2014-09-05 22:05:32 +00:00
msan [msan] Remove MSanDR and supporting code. 2014-11-18 10:33:15 +00:00
profile profile: Robustify instrprof tests 2014-11-18 23:03:14 +00:00
sanitizer_common [Sanitizer] Introduce "stack_trace_format" runtime flag. 2014-11-06 18:43:45 +00:00
tsan [TSan] Don't strip binary/library name until the moment we print it. 2014-11-04 01:55:20 +00:00
ubsan Enable running Ubsan tests on FreeBSD 2014-11-10 15:31:56 +00:00
CMakeLists.txt [asan] make sanitizer tests depend on libclang_rt.profile since we now have a test that uses -coverage 2014-09-24 23:54:04 +00:00
lit.common.cfg [compiler-rt] Re-enable the use of -gmlt for ASan tests on Darwin 2014-09-30 23:07:45 +00:00
lit.common.configured.in XFAIL ptrace test on arm 2014-05-20 23:31:26 +00:00