summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py4
-rw-r--r--lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py b/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
index 0cf259da49b..6a779ecfac5 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
@@ -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")
diff --git a/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp b/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
index 3c22b81df7a..2ed70797ca1 100644
--- a/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
+++ b/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
@@ -141,7 +141,7 @@ MainThreadCheckerRuntime::RetrieveReportData(ExecutionContextRef exe_ctx_ref) {
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;
OpenPOWER on IntegriCloud