summaryrefslogtreecommitdiff
path: root/test/tsan/mutex_lock_destroyed.cc
AgeCommit message (Collapse)Author
2016-03-16[tsan] Detect uses of uninitialized, destroyed and invalid mutexesKuba Brecka
This patch adds a new TSan report type, ReportTypeMutexInvalidAccess, which is triggered when pthread_mutex_lock or pthread_mutex_unlock returns EINVAL (this means the mutex is invalid, uninitialized or already destroyed). Differential Revision: http://reviews.llvm.org/D18132 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@263641 91177308-0d34-0410-b5e6-96231b3b80d8