[LLDB] Flush stream at the end of PrintCommandOutput
authorZequan Wu <zequanwu@google.com>
Fri, 4 Mar 2022 03:22:30 +0000 (19:22 -0800)
committerZequan Wu <zequanwu@google.com>
Fri, 4 Mar 2022 21:06:15 +0000 (13:06 -0800)
commitb31a1b4746c7c806bcc550e877577ec66ea407d9
tree494ff17a9035acfd9fa267b69d611a8e46ec5931
parentdba73135c8b7a02afb535328a7475e0a6890c271
[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
lldb/source/Interpreter/CommandInterpreter.cpp