diff options
author | Kuba Mracek <mracek@apple.com> | 2017-07-08 05:18:19 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2017-07-08 05:18:19 +0000 |
commit | e21b03daeaaaa27005324417d777f7f3ad688b51 (patch) | |
tree | 544d10732b17409045f99e056a3aac4562eefea2 | |
parent | c6bbe4becb8ff4a89a582d4b41d8709e71e2450a (diff) | |
download | bcm5719-llvm-e21b03daeaaaa27005324417d777f7f3ad688b51.tar.gz bcm5719-llvm-e21b03daeaaaa27005324417d777f7f3ad688b51.zip |
Update message that Main Thread Checker produces.
llvm-svn: 307464
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py | 4 | ||||
-rw-r--r-- | lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp | 2 |
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; |