[PATCH] D48806: [asan] Fix deadlock issue on FreeBSD, caused by use of .preinit_array in rL325240

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 16:31:25 PDT 2018


krytarowski added a comment.

In https://reviews.llvm.org/D48806#1150208, @devnexen wrote:

> Maybe we need to move from pthread_get/set_specific ? https://reviews.llvm.org/D47448


Yes, please. I was thinking about the same _lwp_kill(2) trick like in TSan or LSan for NetBSD. I've noted that FreeBSD adopted this solution there too.


Repository:
  rL LLVM

https://reviews.llvm.org/D48806





More information about the llvm-commits mailing list