llvm-project/compiler-rt/test
Maxim Ostapenko d8c47ca836 [asan] Fix ASan internal failure in AllocateFromLocalPool
This patch addresses PR 33206. There might be a situation when dynamic ASan runtime initializes later
than shared library which has malloc in static constructor (rtld doesn't provide an order of shared libs initialization).
In this case ASan hasn't yet initialized interceptors, but already intercepts malloc.
If malloc is too big to be handled by static local pool, ASan will die with error: 
Sanitizer CHECK failed: lib/asan/asan_malloc_linux.cc:40 ((allocated_for_dlsym)) < ((kDlsymAllocPoolSize)) (1036, 1024)

Patch by Denis Khalikov.

Differential Revision: https://reviews.llvm.org/D33784

llvm-svn: 305058
2017-06-09 07:47:38 +00:00
..
BlocksRuntime
asan [asan] Fix ASan internal failure in AllocateFromLocalPool 2017-06-09 07:47:38 +00:00
builtins Add generic __bswap[ds]i2 implementations 2017-05-25 14:52:14 +00:00
cfi [cfi] Fix wrong CMake condition for WIN32. 2017-04-24 21:27:47 +00:00
dfsan [mips] XFAIL dfsan's custom.cc test on mips64. 2017-05-09 19:17:16 +00:00
esan Remove unused variable. 2017-03-31 12:07:58 +00:00
interception Revert "[interception] Check for export table's size before referring to its elements." 2017-01-22 03:30:14 +00:00
lsan [LSAN-ARM] Marking new test unsupported on ARMHF due to bot failures 2017-05-26 17:31:33 +00:00
msan [tsan]: Fix GNU version of strerror_r interceptor 2017-06-07 01:53:38 +00:00
profile Revert "[PGO] Suspend SIGKILL for PR_SET_PDEATHSIG in profile-write" 2017-02-20 15:03:12 +00:00
safestack [Safestack] Fix the canary test to catch the libc's message regarding stack smashing 2017-05-10 08:06:42 +00:00
sanitizer_common [sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. Reapplying revisions 304630, 304631, 304632, 304673, see PR33308 2017-06-08 22:58:19 +00:00
scudo Revert [scudo] Enabling MIPS support for Scudo 2017-04-24 11:02:36 +00:00
tsan Mark the tsan strerror_r test as unsupported on Darwin 2017-06-07 21:10:35 +00:00
ubsan [ubsan] Runtime support for pointer overflow checking 2017-06-01 19:40:59 +00:00
xray [XRay][compiler-rt] Add __xray_remove_customevent_handler(...) 2017-05-22 03:23:54 +00:00
CMakeLists.txt [test] Build sanitizer/xray tests only if COMPILER_RT_BUILD_* is on 2017-04-26 07:35:36 +00:00
lit.common.cfg [asan] Add a compilation wrapper that codesigns shared libraries to support iOS simulator testing 2017-04-28 04:55:35 +00:00
lit.common.configured.in [asan] Add support for running lit tests in the iOS Simulator 2017-04-26 18:59:22 +00:00