[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
Thu Apr 25 08:03:04 PDT 2024
DavidSpickett wrote:
> It's also not clear how this new "presentation mode" is going to be controlled. While it's not in the scope of this PR, it would be nice if you can share a bigger picture.
For me the picture is limited to register printing. I'll be setting this new option on the register type when printing (https://github.com/DavidSpickett/llvm-project/commit/24dbefaa14030646ba0871298989558221af1ba0#diff-18135f619417bbaa1ab0c181ce55b2c55681323c06e90fa1a3e16099c7176e21). So only from C++ for now.
> Another thing this PR doesn't seem to touch is flag-like enums. Even if you don't want to add a numerical value there, because it'd be too much information to present, it still would be nice to see it explicitly considered.
What is a flag like enum?
https://github.com/llvm/llvm-project/pull/90059
More information about the lldb-commits
mailing list