[Lldb-commits] [PATCH] D145609: [lldb] Change dwim-print to default to disabled persistent results
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 8 13:27:22 PST 2023
kastiglione created this revision.
kastiglione added reviewers: aprantl, jingham.
Herald added a project: All.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Change `dwim-print` to now disable persistent results by default, unless requested by
the user with the `--persistent-result` flag.
Ex:
(lldb) dwim-print 1 + 1
(int) 2
(lldb) dwim-print --persistent-result on -- 1 + 1
(int) $0 = 2
Users who wish to enable persistent results can make and use an alias that includes
`--persistent-result on`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145609
Files:
lldb/source/Commands/CommandObjectDWIMPrint.cpp
lldb/source/Commands/CommandObjectExpression.cpp
lldb/source/Commands/CommandObjectExpression.h
lldb/test/API/commands/dwim-print/TestDWIMPrint.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145609.503496.patch
Type: text/x-patch
Size: 4185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230308/9ca4c193/attachment.bin>
More information about the lldb-commits
mailing list