[cfe-commits] Threadsafety: support for guarded_by/var and pt_guarded_by/var annotations

Caitlin Sadowski supertri at google.com
Wed Aug 24 16:46:11 PDT 2011


This patch adds basic handling for pt_guarded_by/var and
guarded_by/var annotations. We identify situations where we are
accessing (reading or writing) guarded variables, and report an error
if the appropriate locks are not held. Any code review comments are
appreciated.

http://codereview.appspot.com/4954041

Cheers,

Caitlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threadsafety_guarded.patch
Type: text/x-patch
Size: 11954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110824/225af88c/attachment.bin>


More information about the cfe-commits mailing list