[Lldb-commits] [lldb] [lldb] Store the command in the CommandReturnObject (PR #125132)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 3 12:20:16 PST 2025
jimingham wrote:
One way to make the intent of the command string in the return object clear is to ONLY set it after we've called HandleCommand (or HandleCommands). That way it's explicitly NOT meant to help execute the command - after all, commands really should NOT be operating on the un-alias-resolved forms of their commands. Then the intent will be clear. We could even call the API `GetOriginalCommandString` to make it doubly clear.
https://github.com/llvm/llvm-project/pull/125132
More information about the lldb-commits
mailing list