llvm-project/compiler-rt/test
Kuba Brecka 9a36b3e147 [compiler-rt] Ensure AsanInitFromRtl is called from a static initializer on OS X by using ASAN_DYNAMIC=1
The idea is to ensure that the ASan runtime gets initialized early (i.e.
before other initializers/constructors) even when DYLD_INSERT_LIBRARIES
is not used. In that case, the interceptors are not installed (on OS X,
DYLD_INSERT_LIBRARIES is required for interceptors to work), and therefore
ASan gets currently initialized quite late -- from the main executable's
module initializer. The following issues are a consequence of this:

  https://code.google.com/p/address-sanitizer/issues/detail?id=363
  https://code.google.com/p/address-sanitizer/issues/detail?id=357

Both of them are fixed with this patch.

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

llvm-svn: 226929
2015-01-23 19:29:19 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [compiler-rt] Ensure AsanInitFromRtl is called from a static initializer on OS X by using ASAN_DYNAMIC=1 2015-01-23 19:29:19 +00:00
builtins tests: correct builtins test if built under -mthumb on ARM 2015-01-05 21:54:50 +00:00
dfsan [DFSan] Add flag to dump the labels when the program terminates. 2014-11-20 10:01:08 +00:00
lsan [sanitizer] Flag parser rewrite. 2015-01-15 15:13:43 +00:00
msan [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
profile Update lib/profile tests for metadata assembly change 2014-12-15 21:34:19 +00:00
sanitizer_common [sanitizer] Move sched_getparam test under Linux/. 2015-01-22 15:34:50 +00:00
tsan tsan: remove sleeps from tests 2015-01-21 13:50:02 +00:00
ubsan Update for tests failing due to improvements in clang's column information for aggregate expressions 2015-01-18 02:17:55 +00:00
CMakeLists.txt Don't make check-sanitizer depend on profile on Windows 2014-11-21 23:09:51 +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 Use the newer python syntax for exceptions 2014-12-13 02:46:56 +00:00