llvm-project/compiler-rt/lib
Kuba Brecka fe17cee960 [asan] Fix dyld version detection on OS X
We currently have a dyld check in DyldNeedsEnvVariable that detects whether we are on a new OS X (10.11+) where we don't need to re-exec. For iOS simulator, we have a dlsym() hack that checks for a specific symbol, but this turns out to be fragile and problematic, because dlsym can sometimes call malloc(), which is not a good idea this early in the process runtime.

Let's instead of this do a direct comparison of dyld's version, which is exported in a public symbol `dyldVersionNumber`.

Differential Revision: http://reviews.llvm.org/D11719

llvm-svn: 243879
2015-08-03 14:48:59 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [asan] Fix dyld version detection on OS X 2015-08-03 14:48:59 +00:00
builtins Fix __floatsitf() for negative input 2015-07-31 13:32:09 +00:00
cfi CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
dfsan [libFuzzer] prepare for __sanitizer_cov_trace_switch in libFuzzer and sanitizer coverage. Also fix pedantic warnings 2015-07-31 01:07:12 +00:00
interception CMake: Stop using LLVM's custom parse_arguments. NFC 2015-06-19 03:39:24 +00:00
lsan [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
msan [CMake] Don't build libc++ with MSan-with-calls instrumentation. 2015-07-31 21:15:34 +00:00
profile [probile] Fix memory leak introduced in r241824. 2015-07-15 22:50:39 +00:00
safestack [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
sanitizer_common [Sanitizer] Try to fix sanitizer_libc_test on FreeBSD. 2015-07-31 23:02:51 +00:00
tsan [asan,tsan,msan] move the memcmp interceptor from asan/tsan to sanitizer_common. This may potentially lead to more reports from msan as it now sees the reads inside memcmp. To disable, use the flag intercept_memcmp=0. Likewise, it may potentially cause new races to appear due to more strict memcmp checking (flag strict_memcmp=1) 2015-07-29 23:53:08 +00:00
ubsan [UBSan][MIPS] Fix cast-overflow tests for mips big endian 2015-07-28 05:51:51 +00:00
CMakeLists.txt CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
Makefile.mk Remove support for building sanitizers from Makefile/autoconf build on Linux. 2015-02-18 22:26:49 +00:00