diff options
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py | 2 | ||||
-rw-r--r-- | lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py b/lldb/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py index 9878d629c97..c22501141cc 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py @@ -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") ) diff --git a/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp b/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp index dd58e94beb1..3c15db54662 100644 --- a/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp +++ b/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp @@ -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") { |