This is an archive of the discontinued LLVM Phabricator instance.

Fix support for try_acquire_capability
ClosedPublic

Authored by aaron.ballman on Mar 6 2018, 8:34 AM.

Details

Summary

The thread safety analysis implementation supported exclusive and shared try lock function attributes, but did not have support for the analogous capability attributes. This patch adds that support.

This addresses PR32954.

Diff Detail

Event Timeline

aaron.ballman created this revision.Mar 6 2018, 8:34 AM

Please upload patches with full context (-U99999) :)

Now: with more context!

Please upload patches with full context (-U99999) :)

Ugh, yes. TortoiseSVN has no option for this, so I perpetually forget.

aaron.ballman accepted this revision.Apr 12 2018, 10:56 AM

I think this code is ready to go in -- accepting my own revision so that I can close. If @delesley spots any issues, they can be address post commit.

This revision is now accepted and ready to land.Apr 12 2018, 10:56 AM

Committed the fix in r329930.