summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/CodeGen
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-06-07 18:59:47 +0000
committermarkj <markj@FreeBSD.org>2015-06-07 18:59:47 +0000
commit575c540dc2d0f263ea19d147ceb2e57c2859fbbd (patch)
tree4508b7fa7a7dd9b1f697c846516e08aae03dc2b1 /contrib/llvm/tools/clang/lib/CodeGen
parent28b61e032c63beebeadd5138f2f4c967cd25d6a8 (diff)
downloadFreeBSD-src-575c540dc2d0f263ea19d147ceb2e57c2859fbbd.zip
FreeBSD-src-575c540dc2d0f263ea19d147ceb2e57c2859fbbd.tar.gz
witness: don't warn about matrix inconsistencies without holding the mutex
Lock order checking is done without the witness mutex held, so multiple threads that are racing to establish a new lock order may read matrix entries that are in an inconsistent state. Don't print a warning in this case, but instead just redo the check after taking the witness lock. Differential Revision: https://reviews.freebsd.org/D2713 Reviewed by: jhb MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud