[llvm-bugs] [Bug 33755] thread safety analysis: attribute acquire_capability on lock function incorrectly causes error

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 12 19:16:09 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33755

David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #3 from David Blaikie <dblaikie at gmail.com> ---
Yeah, that looks like totally the right thing to do. I'd barely even call it a
workaround (at least with free functions you can choose which ones are the leaf
like this - with member functions you can't opt back in to checking, which
seems like a loss of functionality to me)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170713/f18a85c6/attachment.html>


More information about the llvm-bugs mailing list