summaryrefslogtreecommitdiff
path: root/lib/tsan/tests
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-03-16 15:39:20 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-03-16 15:39:20 +0000
commitcf3edeb92e31d2c4bcc7575c1eb2c7abd8c5b15a (patch)
treedf7d2ea1822c948fca1bed88077d10fe78724b44 /lib/tsan/tests
parent0813bfea15cfb9fd2da85f7a28123a090dcc65a7 (diff)
[tsan] Detect uses of uninitialized, destroyed and invalid mutexes
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
Diffstat (limited to 'lib/tsan/tests')
0 files changed, 0 insertions, 0 deletions