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

Matej Košík via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 5 14:09:32 PST 2025


================
@@ -218,7 +218,7 @@ class RegisterValue {
   }
 
   void SetUInt128(llvm::APInt uint) {
-    m_type = eTypeUInt128;
+    m_type = eTypeUIntBig;
     m_scalar = std::move(uint);
   }
----------------
sedymrak wrote:

I have realized (after some more testing) that what I have written above makes no sense. Please ignore my comment above.

According to my investigation, the enum value we are talking about is used only when we need to represent registers whose size is strictly larger than 64 bits. 

I am not sure what would be the best name that would the most succintly indicate precisely this.

These alternatives come tome my mind:
- `eTypeUInt65Plus`
- `eTypeUInt65OrMore`

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


More information about the lldb-commits mailing list