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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 5 06:49:58 PST 2025


Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Košík?= <m4tej.kosik at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/166363 at github.com>


================
@@ -218,7 +218,7 @@ class RegisterValue {
   }
 
   void SetUInt128(llvm::APInt uint) {
-    m_type = eTypeUInt128;
+    m_type = eTypeUIntBig;
     m_scalar = std::move(uint);
   }
----------------
DavidSpickett 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.

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


More information about the lldb-commits mailing list