[Lldb-commits] [lldb] [lldb] Add value to enumerator dump (PR #69815)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 23 00:54:14 PDT 2023


DavidSpickett wrote:

I don't have the experience to know if enabling this globally makes sense, but I do have a future use case for it.

At a some point I want to be able to describe register fields as enums, and having the value as well as the name means you can match it up with the code you're debugging and create new code to match the value you're seeing. It's also useful for old debuggers on new CPUs where new enum values have been added, but we don't know the names yet.

What happens with values that don't have a name, do we already have a fallback for that?

https://github.com/llvm/llvm-project/pull/69815


More information about the lldb-commits mailing list