[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 05:25:51 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:

> For someone with no LLVM background, `eTypeUIntN` would be ok too. Ultimately either one needs a comment where it's defined to explain that one should use the specific sizes if you have exactly that.

Consistently with your suggestion, I have pushed a commit that renames this enum value to `eTypeIntN`.
The new comment reflects the purpose of this enum.

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


More information about the lldb-commits mailing list