[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

Matej Košík via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 6 08:54:12 PST 2025


================
@@ -46,7 +46,8 @@ class RegisterValue {
     eTypeUInt16,
     eTypeUInt32,
     eTypeUInt64,
-    eTypeUInt128,
+    eTypeUIntN, /// < This value is used when the (integer) register is larger
+                /// than 64-bits.
----------------
sedymrak wrote:

Now I am little bit confused. Why do you believe that:

> So this  is not always larger than 64 but generally a size that is not exactly equal to any of the preceding sizes.

?

In other words, do you believe that the comment:
```
    eTypeUIntN, /// < This value is used when the (integer) register is larger
                /// than 64-bits.
```
is incorrect?

As far as I understand, whenever `RegisterValue` object has attribute `m_type` that equals to `eTypeUIntN`, then this object represents an integer that has more than 64 bits.

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


More information about the lldb-commits mailing list