[PATCH] D28520: Disable -Wthread-safety-analysis for some functions in __thread_support

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 14 11:39:14 PST 2017

EricWF added a comment.

I think the real bug here is FreeBSD annotating `pthread_mutex_t`. That's going to break a lot of code that already uses -Wthread-safety. This kind of breakage is the reason libc++ doesn't enable the annotations on `std::mutex` by default.


More information about the cfe-commits mailing list