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'
Paths
| Differential D138960
[lldb] Enable use of dummy target from dwim-print ClosedPublic Authored by kastiglione on Nov 29 2022, 4:38 PM.
Details Summary Allow dwim-print to evaluate expressions using the dummy target if no real This adds some parity to expression. With this, both of the following work: lldb -o 'expr 1+2' lldb -o 'dwim-print 1+2'
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 1 2022, 7:12 AM Closed by commit rGcebb87e7dce8: [lldb] Enable use of dummy target from dwim-print (authored by kastiglione). · Explain WhyDec 1 2022, 1:21 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 479402 lldb/source/Commands/CommandObjectDWIMPrint.cpp
lldb/test/API/commands/dwim-print/TestDWIMPrint.py
|