Go to file
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
clang Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00
clang-tools-extra Revert "[clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed." 2017-06-09 07:34:58 +00:00
compiler-rt [asan] Fix ASan internal failure in AllocateFromLocalPool 2017-06-09 07:47:38 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx [libcxx] [test] Update locale names for Windows. 2017-06-08 18:22:03 +00:00
libcxxabi [libcxxabi] HandleLLVMOptions in out of tree build 2017-06-03 17:23:19 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld [ELF] - Fix build bot. 2017-06-09 04:48:56 +00:00
lldb [VMRange] Simplify a couple of member functions. NFCI. 2017-06-08 23:49:56 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm bugpoint: disabling symbolication of bugpoint-executed programs 2017-06-09 07:29:03 +00:00
openmp Fix static initializers for locks. 2017-06-06 20:24:41 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Fix a lot of typos. NFC. 2017-06-08 12:06:15 +00:00