summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_report.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-04-25 07:42:55 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-04-25 07:42:55 +0000
commitc845decce1eaf0047b29bf44fef758ccd873be2d (patch)
tree613602abd1533386dd36c7fbcfb710ccfd844571 /compiler-rt/lib/tsan/rtl/tsan_report.h
parent3212b18bbf8458cc9eabbb8938ffcef68af7473c (diff)
downloadbcm5719-llvm-c845decce1eaf0047b29bf44fef758ccd873be2d.tar.gz
bcm5719-llvm-c845decce1eaf0047b29bf44fef758ccd873be2d.zip
tsan: better reports for "double lock of a mutex"
+ fixes crashes due to races on symbolizer, see: https://code.google.com/p/thread-sanitizer/issues/detail?id=55 llvm-svn: 207204
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_report.h')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_report.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_report.h b/compiler-rt/lib/tsan/rtl/tsan_report.h
index b37d00bec37..aaa562b5def 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_report.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_report.h
@@ -24,6 +24,7 @@ enum ReportType {
ReportTypeUseAfterFree,
ReportTypeThreadLeak,
ReportTypeMutexDestroyLocked,
+ ReportTypeMutexDoubleLock,
ReportTypeSignalUnsafe,
ReportTypeErrnoInSignal,
ReportTypeDeadlock
OpenPOWER on IntegriCloud