[Lldb-commits] [lldb] r307464 - Update message that Main Thread Checker produces.
Kuba Mracek via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 7 22:18:19 PDT 2017
Author: kuba.brecka
Date: Fri Jul 7 22:18:19 2017
New Revision: 307464
URL: http://llvm.org/viewvc/llvm-project?rev=307464&view=rev
Log:
Update message that Main Thread Checker produces.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
lldb/trunk/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py?rev=307464&r1=307463&r2=307464&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py Fri Jul 7 22:18:19 2017
@@ -41,7 +41,7 @@ class MTCSimpleTestCase(TestBase):
thread = process.GetSelectedThread()
frame = thread.GetSelectedFrame()
- self.expect("thread info", substrs=['stop reason = -[NSView superview] must be called from main thread only'])
+ self.expect("thread info", substrs=['stop reason = -[NSView superview] must be used from main thread only'])
self.expect(
"thread info -s",
@@ -54,4 +54,4 @@ class MTCSimpleTestCase(TestBase):
self.assertEqual(data["api_name"], "-[NSView superview]")
self.assertEqual(data["class_name"], "NSView")
self.assertEqual(data["selector"], "superview")
- self.assertEqual(data["description"], "-[NSView superview] must be called from main thread only")
+ self.assertEqual(data["description"], "-[NSView superview] must be used from main thread only")
Modified: lldb/trunk/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp?rev=307464&r1=307463&r2=307464&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp (original)
+++ lldb/trunk/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp Fri Jul 7 22:18:19 2017
@@ -141,7 +141,7 @@ MainThreadCheckerRuntime::RetrieveReport
d->AddStringItem("class_name", className);
d->AddStringItem("selector", selector);
d->AddStringItem("description",
- apiName + " must be called from main thread only");
+ apiName + " must be used from main thread only");
d->AddIntegerItem("tid", thread_sp->GetIndexID());
d->AddItem("trace", trace_sp);
return dict_sp;
More information about the lldb-commits
mailing list