[llvm-bugs] [Bug 42655] New: Thread safety analysis incorrectly warns when using std::scoped_lock with multiple locks
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 17 10:51:53 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42655
Bug ID: 42655
Summary: Thread safety analysis incorrectly warns when using
std::scoped_lock with multiple locks
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++17
Assignee: unassignedclangbugs at nondot.org
Reporter: ohgodtamit at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Example: https://godbolt.org/z/d3qZS6
When using the std::scoped_lock constructor to acquire multiple locks, thread
safety analysis seems to think none of the locks are taken in the ensuing
block.
--
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/20190717/2647e5fd/attachment.html>
More information about the llvm-bugs
mailing list