summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
authorDeLesley Hutchins <delesley@google.com>2015-02-03 22:11:04 +0000
committerDeLesley Hutchins <delesley@google.com>2015-02-03 22:11:04 +0000
commitab1dc2d54db5fc2ad4ee748745420eac844a5ea3 (patch)
tree899c05ac07727ebfe508a90dc6411a261d418633 /clang/lib/Sema/SemaStmtAsm.cpp
parente4101e2c9e15f3f6e6a5bbb80acc65021b476886 (diff)
downloadbcm5719-llvm-ab1dc2d54db5fc2ad4ee748745420eac844a5ea3.tar.gz
bcm5719-llvm-ab1dc2d54db5fc2ad4ee748745420eac844a5ea3.zip
Thread Safety Analysis: add support for before/after annotations on mutexes.
These checks detect potential deadlocks caused by inconsistent lock ordering. The checks are implemented under the -Wthread-safety-beta flag. This patch also replaces calls to getAttrs() with calls to attrs() throughout ThreadSafety.cpp, which fixes the earlier issue that cause assert failures. llvm-svn: 228051
Diffstat (limited to 'clang/lib/Sema/SemaStmtAsm.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud