[Lldb-commits] [lldb] [lldb] Introduce RegisterType base class for all register type classes (PR #196960)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 4 02:43:43 PDT 2026
================
@@ -62,7 +64,9 @@ void lldb_private::DumpRegisterInfo(Stream &strm, RegisterContext &ctx,
}
DoDumpRegisterInfo(strm, info.name, info.alt_name, info.byte_size,
- invalidates, read_from, in_sets, info.flags_type,
+ invalidates, read_from, in_sets,
+ llvm::dyn_cast_if_present<lldb_private::RegisterFlags>(
+ info.register_type),
terminal_width);
----------------
DavidSpickett wrote:
There are some types that will need more information than the default type view is going to show. No doubt we can overcome that, but that's a big reason I have custom code to do this at the moment.
https://github.com/llvm/llvm-project/pull/196960
More information about the lldb-commits
mailing list