[Lldb-commits] [lldb] [lldb] Override default struct layout when building register types (PR #189590)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 31 04:35:42 PDT 2026


================
@@ -86,11 +86,6 @@ class RegisterFlags {
     /// Identical to GetMaxValue but for the GDB client to use.
     static uint64_t GetMaxValue(unsigned start, unsigned end);
 
-    /// Extract value of the field from a whole register value.
-    uint64_t GetValue(uint64_t register_value) const {
----------------
DavidSpickett wrote:

This seems like a very important function but all value extraction is done by the type rendering now, that's why I was able to remove it.

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


More information about the lldb-commits mailing list