[Lldb-commits] [PATCH] D138960: [lldb] Enable use of dummy target from dwim-print
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 29 16:38:42 PST 2022
kastiglione created this revision.
kastiglione added reviewers: jingham, labath.
Herald added a project: All.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Allow `dwim-print` to evaluate expressions using the dummy target if no real
target exists.
This adds some parity to `expression`. With this, both of the following work:
lldb -o 'expr 1+2'
lldb -o 'dwim-print 1+2'
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138960
Files:
lldb/source/Commands/CommandObjectDWIMPrint.cpp
lldb/test/API/commands/dwim-print/TestDWIMPrint.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138960.478753.patch
Type: text/x-patch
Size: 4065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221130/b77f6d9f/attachment.bin>
More information about the lldb-commits
mailing list