[Lldb-commits] [PATCH] D144114: [lldb] Add expression command options in dwim-print

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 16 09:43:17 PST 2023


kastiglione updated this revision to Diff 498054.
kastiglione added a comment.

Use only a subset of expression flags.

Specifically, don't expose `--debug`/`-g` or `--top-level`/`-p`. These, unlike
the other `expression` flags, the semantics of these flags would seem to force
`expression` evaluation. In which case, user should use `expression` directly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144114/new/

https://reviews.llvm.org/D144114

Files:
  lldb/source/Commands/CommandObjectDWIMPrint.cpp
  lldb/source/Commands/CommandObjectDWIMPrint.h
  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: D144114.498054.patch
Type: text/x-patch
Size: 10314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230216/f488f1e9/attachment.bin>


More information about the lldb-commits mailing list