[Lldb-commits] [PATCH] D137000: [lldb] Make callback-based formatter matching available from the CLI.
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 31 05:35:28 PDT 2022
labath added a comment.
Seems fine to me.
================
Comment at: lldb/source/Commands/Options.td:1231
Desc<"Type names are actually regular expressions.">;
+ def type_synth_add_recognizer_function : Option<"recognizer-function", "R">,
+ Desc<"Type names are actually the names of python functions that decide "
----------------
There's a little-known trick to avoid a short version of an option by using a non-printable character here (like `"\\x01"`, see `disassemble --force`). Given that we don't expect this to be widely used (and that `R` could also mean `Regex`), maybe this is the time to use it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137000/new/
https://reviews.llvm.org/D137000
More information about the lldb-commits
mailing list