Skip to content

Commit b31a1b4

Browse files
committed
[LLDB] Flush stream at the end of PrintCommandOutput
On Windows, lldb doesn't print any error message until exit. This fixes it. Differential Revision: https://reviews.llvm.org/D120961
1 parent dba7313 commit b31a1b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Interpreter/CommandInterpreter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2997,6 +2997,7 @@ void CommandInterpreter::PrintCommandOutput(Stream &stream,
29972997
if (size > 0) {
29982998
stream.Printf("\n... Interrupted.\n");
29992999
}
3000+
stream.Flush();
30003001
}
30013002

30023003
bool CommandInterpreter::EchoCommandNonInteractive(

0 commit comments

Comments
 (0)