zequanwu created this revision. zequanwu added a reviewer: labath. Herald added a project: All. zequanwu requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
On Windows, lldb doesn't print any error message until exit. This fixes it. Repository: rG LLVM Github Monorepo 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(
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(
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits