[PATCH] D28520: Disable -Wthread-safety-analysis for some functions in __thread_support
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 10 10:56:56 PST 2017
aaron.ballman added a comment.
In https://reviews.llvm.org/D28520#641536, @dim wrote:
> In https://reviews.llvm.org/D28520#641534, @aaron.ballman wrote:
>
> > Alternatively, these functions could be given the proper thread safety annotations, couldn't they?
>
>
> Aha, I was not aware of the existence of these attributes. I'll take a look.
This may be of some help: http://clang.llvm.org/docs/ThreadSafetyAnalysis.html
https://reviews.llvm.org/D28520
More information about the cfe-commits
mailing list