Adopt expression's options in dwim-print.
This is primarily added to support the --language/-l flag.
Paths
| Differential D144114
[lldb] Add expression command options in dwim-print ClosedPublic Authored by kastiglione on Feb 15 2023, 9:31 AM.
Details Summary Adopt expression's options in dwim-print. This is primarily added to support the --language/-l flag.
Diff Detail
Event Timelinekastiglione added a parent revision: D144044: [lldb] Suppress persistent result when running po.Feb 15 2023, 9:39 AM This revision is now accepted and ready to land.Feb 15 2023, 4:00 PM Comment Actions Use only a subset of expression flags. Specifically, don't expose --debug/-g or --top-level/-p. These, unlike
jingham added inline comments.
This revision now requires changes to proceed.Feb 16 2023, 3:10 PM Comment Actions Add and adopt new variation of OptionGroupOptions::Append kastiglione added a child revision: D144230: [lldb] Make persisting result variables configurable.Feb 17 2023, 8:35 AM Comment Actions LGTM
This revision is now accepted and ready to land.Feb 17 2023, 10:57 AM
Closed by commit rG920b46e108b2: [lldb] Add expression command options in dwim-print (authored by kastiglione). · Explain WhyFeb 17 2023, 5:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 498537 lldb/include/lldb/Interpreter/Options.h
lldb/source/Commands/CommandObjectDWIMPrint.h
lldb/source/Commands/CommandObjectDWIMPrint.cpp
lldb/source/Commands/CommandObjectExpression.h
lldb/source/Commands/CommandObjectExpression.cpp
lldb/source/Interpreter/Options.cpp
lldb/test/API/commands/dwim-print/TestDWIMPrint.py
|
Maybe comment here that these are the only options that only make sense in the expression evaluator?