majnemer added a comment.

I don't think we should depend on LLVM for the locking stuff. This sort of 
infrastructure is in the same bucket as the demangler which we haven't really 
solved.

I *do* find it weird to do it this way though. I think you should have some 
mutex functions which include read/write unlock. This way you don't need the 
weird state.


https://reviews.llvm.org/D38704



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to