================ @@ -188,12 +188,14 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command, ValueObjectSP valobj_sp; std::string fixed_expression; + result.SetUserInput(expr); ---------------- jimingham wrote:
This is at least an oddly named API, since it's not at all what the user input. For instance, I might very well have run: dwim-print -a 1 -l swift -- some expression but this API is going to claim "some expression" is the user input. https://github.com/llvm/llvm-project/pull/110901 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits