[Lldb-commits] [PATCH] D120961: [LLDB] Flush stream at the end of PrintCommandOutput

Zequan Wu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 4 13:06:33 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb31a1b4746c7: [LLDB] Flush stream at the end of PrintCommandOutput (authored by zequanwu).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120961/new/

https://reviews.llvm.org/D120961

Files:
  lldb/source/Interpreter/CommandInterpreter.cpp


Index: lldb/source/Interpreter/CommandInterpreter.cpp
===================================================================
--- lldb/source/Interpreter/CommandInterpreter.cpp
+++ lldb/source/Interpreter/CommandInterpreter.cpp
@@ -2997,6 +2997,7 @@
   if (size > 0) {
     stream.Printf("\n... Interrupted.\n");
   }
+  stream.Flush();
 }
 
 bool CommandInterpreter::EchoCommandNonInteractive(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120961.413119.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220304/43acde85/attachment.bin>


More information about the lldb-commits mailing list