Reword ThreadSanitizer message for invalid mutex reports.

llvm-svn: 270364
This commit is contained in:
Kuba Brecka 2016-05-22 14:32:45 +00:00
parent 00d7c563d2
commit 52ded8072a
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class TsanMultipleTestCase(TestBase):
(stop_description == "Data race detected") or
(stop_description == "Use of deallocated memory detected") or
(stop_description == "Thread leak detected") or
(stop_description == "Use of an invalid mutex (e.g. uninitialized or destroyed) detected") or
(stop_description == "Use of an uninitialized or destroyed mutex detected") or
(stop_description == "Unlock of an unlocked mutex (or by a wrong thread) detected")
)

View File

@ -465,7 +465,7 @@ ThreadSanitizerRuntime::FormatDescription(StructuredData::ObjectSP report)
} else if (description == "mutex-double-lock") {
return "Double lock of a mutex";
} else if (description == "mutex-invalid-access") {
return "Use of an invalid mutex (e.g. uninitialized or destroyed)";
return "Use of an uninitialized or destroyed mutex";
} else if (description == "mutex-bad-unlock") {
return "Unlock of an unlocked mutex (or by a wrong thread)";
} else if (description == "mutex-bad-read-lock") {