[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
       
    Tue Jan 10 11:20:13 PST 2017
    
    
  
EricWF added a comment.
In https://reviews.llvm.org/D28520#641569, @dim wrote:
> 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.
Yes sorry `__mutex_base`. Moving them to `__config` sounds reasonable.
https://reviews.llvm.org/D28520
    
    
More information about the cfe-commits
mailing list