[Lldb-commits] [PATCH] D103349: [lldb] Don't print script output twice in HandleCommand

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri May 28 20:06:43 PDT 2021


jingham added a comment.

A command that knew it was streaming a lot of output is supposed to be able to choose to have the CommandInterpreter directly stream the results while the command is executing.  That's good for something that is likely to print a lot of output, since then you don't have to wait for the command to be done to start seeing results.  Of course, you still have to gather the command into the Return object as well since that's part of the CommandInterpreter contract.  So you have to be careful not to print it twice.  Maybe this code is part of the implementation of that?


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

https://reviews.llvm.org/D103349



More information about the lldb-commits mailing list