[PATCH] D48806: [asan] Fix deadlock issue on FreeBSD, caused by use of .preinit_array in rL325240
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 2 01:35:04 PDT 2018
devnexen added a comment.
In https://reviews.llvm.org/D48806#1149021, @dim wrote:
> Sorry for not getting to this one earlier, indeed it fixes the deadlock for me too!
>
> Now the only "big" thing left is the hundreds of:
>
> ==41641==AddressSanitizer CHECK failed: /share/dim/src/llvm/trunk/projects/compiler-rt/lib/asan/asan_posix.cc:48 "((0)) == ((pthread_key_create(&tsd_key, destructor)))" (0x0, 0x4e)
> `
>
> failures. :-)
I guess it s FreeBSD 11.2 ? Seems his fix working on 10.4, will check on 11.x when I can ... otherwise there is always the thread local solution I threw a while ago.
Repository:
rL LLVM
https://reviews.llvm.org/D48806
More information about the llvm-commits
mailing list