Skip to content
Commit ab1dc2d5 authored by DeLesley Hutchins's avatar DeLesley Hutchins
Browse files

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
parent e4101e2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment