[Lldb-commits] [PATCH] D124873: [lldb] Session transcript should use the async debugger streams
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue May 3 13:35:12 PDT 2022
JDevlieghere updated this revision to Diff 426821.
JDevlieghere added a comment.
Typo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124873/new/
https://reviews.llvm.org/D124873
Files:
lldb/source/Core/Debugger.cpp
Index: lldb/source/Core/Debugger.cpp
===================================================================
--- lldb/source/Core/Debugger.cpp
+++ lldb/source/Core/Debugger.cpp
@@ -669,9 +669,9 @@
CommandReturnObject result(debugger_sp->GetUseColor());
cmd_interpreter.SaveTranscript(result);
if (result.Succeeded())
- debugger_sp->GetOutputStream() << result.GetOutputData() << '\n';
+ (*debugger_sp->GetAsyncOutputStream()) << result.GetOutputData() << '\n';
else
- debugger_sp->GetErrorStream() << result.GetErrorData() << '\n';
+ (*debugger_sp->GetAsyncErrorStream()) << result.GetErrorData() << '\n';
}
debugger_sp->Clear();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124873.426821.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220503/806d8836/attachment.bin>
More information about the lldb-commits
mailing list