tsan: better reports for "read lock of a write locked mutex"



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207209 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] implement an experimental detector of ODR violations. Not tested yet outside of a tiny test, may need tuning.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207210 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better reports for "unlock of an unlocked mutex"



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207211 91177308-0d34-0410-b5e6-96231b3b80d8