[Lldb-commits] [PATCH] D137000: [lldb] Make callback-based formatter matching available from the CLI.

Jorge Gorbe Moya via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 31 16:56:52 PDT 2022


jgorbe updated this revision to Diff 472185.
jgorbe added a comment.

- Removed `-R` short option to avoid confusion with regex. Updated doc, test case, and example.
- Added some logic to make `--recognizer-function` and `--regex` mutually exclusive. Specifying both now results in an error being reported to the user.
- Rebased on top of current HEAD.




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

https://reviews.llvm.org/D137000

Files:
  lldb/docs/use/variable.rst
  lldb/examples/synthetic/recognizer_function/example.py
  lldb/examples/synthetic/recognizer_function/lldb-commands
  lldb/examples/synthetic/recognizer_function/program.cpp
  lldb/source/Commands/CommandObjectType.cpp
  lldb/source/Commands/Options.td
  lldb/test/API/functionalities/data-formatter/callback-matching/TestDataFormatterCallbackMatching.py
  lldb/test/API/functionalities/data-formatter/callback-matching/formatters_with_callback.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137000.472185.patch
Type: text/x-patch
Size: 28548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221031/8d9e71b8/attachment-0001.bin>


More information about the lldb-commits mailing list