[cfe-commits] Threadsafety: delayed parsing patch

Caitlin Sadowski supertri at google.com
Wed Aug 24 17:10:10 PDT 2011


This patch builds off of the previous guarded patch (so as to have
good test cases) and adds delayed parsing of attributes so as to
handle cases where we want to, for example, reference a member
variable in an attribute argument.Comments are appreciated -- this
patch touches various parts of the parser and so definitely needs to
be reviewed before committing.



Caitlin and DeLesley

On Wed, Aug 24, 2011 at 4:46 PM, Caitlin Sadowski <supertri at google.com> wrote:
> 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_delayedparsing.patch
Type: text/x-patch
Size: 21131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110824/40b23622/attachment.bin>

More information about the cfe-commits mailing list