mstorsjo added a comment.

In https://reviews.llvm.org/D38704#897935, @majnemer wrote:

> 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.


Ok, sure. I can add a new class with an API similar to the one in LLVM, but 
only the bare essentials (i.e. exactly what libunwind has got right now, plus 
SRW locks for windows) for now.


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