[Lldb-commits] [lldb] [lldb] Add ability to show enum as name and value at the same time (PR #90059)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri May 3 02:10:02 PDT 2024
DavidSpickett wrote:
I found a few things:
* Yes you can get these flags like enums with a register field as expected.
* Only C++ code can manipulate a `DumpValueObjectOptions` object, there's no Python binding at all.
* The only Python tests for it are things that call commands that then use the object e.g. watchpoints or evaluating enum expressions. They do not have the low level control like I am adding in this PR.
I'm not sure of the utility of flag like enums as register fields yet but whatever I come up with, the lack of tests bothers me. So I'm trying to find a way to test `DumpValueObjectOptions` in relative isolation.
https://github.com/llvm/llvm-project/pull/90059
More information about the lldb-commits
mailing list