llvm-project/compiler-rt/lib
Alex Shlyapnikov e85b4df435 [TSan] Make more TSan interceptors symbolizer-aware.
Summary:
Switching the rest of intercepted allocs to InternalAlloc (well, except
__libc_memalign) when current thread is 'in_symbolizer'. Symbolizer
might (and does) use allocation functions other than malloc/calloc/realloc.

posix_memalign is the one actually used, others switched just in case
(since the failure is obscure and not obvious to diagnose).

Reviewers: dvyukov

Subscribers: llvm-commits, kubamracek

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

llvm-svn: 319929
2017-12-06 19:12:57 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [ASan] Enhance libsanitizer support for invalid-pointer-pair. 2017-12-04 18:00:24 +00:00
builtins Add powerpc64 to compiler-rt build infrastructure. 2017-11-30 21:04:11 +00:00
cfi (NFC) Rename GetMax{,User}VirtualAddress. 2017-11-07 23:51:22 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
fuzzer [libFuzzer] Make redirects happen in proper sequence. 2017-12-05 17:13:17 +00:00
interception [Sanitizers] Use SANITIZER_* macros in lib/interception 2017-12-06 17:02:00 +00:00
lsan Detect thread termination in LSan/NetBSD 2017-11-26 09:42:01 +00:00
msan Fix typo fcvr -> fcvt and attempt to unbreak MSan/!NetBSD 2017-12-06 01:44:41 +00:00
profile [profile] Update InstrProfData.inc to sync with llvm 2017-11-14 23:57:58 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [sanitizer] 64-bit allocator's PopulateFreeArray partial refactor 2017-12-04 18:56:38 +00:00
scudo [scudo] Correct performance regression in Secondary 2017-12-06 16:53:24 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan [TSan] Make more TSan interceptors symbolizer-aware. 2017-12-06 19:12:57 +00:00
ubsan [sanitizers] Rename GetStackTraceWithPcBpAndContext 2017-11-09 07:53:06 +00:00
ubsan_minimal [ubsan-minimal] Get rid of the libc++ dependency. 2017-11-11 02:32:02 +00:00
xray [compiler-rt][xray][cmake] Fix a build issue caused by set/item mixup 2017-12-06 14:03:41 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00