[PATCH] D33784: Bug 33206 - Sanitizer CHECK failed: ((allocated_for_dlsym)) < ((kDlsymAllocPoolSize)) (1036, 1024)) with preload

Maxim Ostapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 12:13:32 PDT 2017


m.ostapenko added a comment.

In https://reviews.llvm.org/D33784#774238, @eugenis wrote:

> A crazy thought - what happens if we add DF_1_INITFIRST to the asan library?
>  -Wl,-z,initfirst


According to Jakub's comment (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393#c9) dynamic linker only supports exactly one initfirst shared library, which it assumes is libpthread.so. So I'm afraid we can't use it.


https://reviews.llvm.org/D33784





More information about the llvm-commits mailing list