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

Dimitry Andric via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 11:19:02 PST 2017


dim added a comment.

In https://reviews.llvm.org/D28520#641563, @EricWF wrote:

> Also look in `__mutex` where libc++ defines its own macros for the annotations.


I assume you mean `__mutex_base`.  Do we want to reuse the macros from that file?  If so we'd have to include it in `__thread_support`.  Maybe it is better to move the macros to `__config` instead, then.


https://reviews.llvm.org/D28520





More information about the cfe-commits mailing list