[llvm] 11cf968 - [NATVIS] Fix ConstantInt APInt value access (#221719)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 04:46:53 PDT 2026
Author: Simon Pilgrim
Date: 2026-09-10T11:46:48Z
New Revision: 11cf968d0d79f5809b4f3fd6b526f0d16ec2a6d1
URL: https://github.com/llvm/llvm-project/commit/11cf968d0d79f5809b4f3fd6b526f0d16ec2a6d1
DIFF: https://github.com/llvm/llvm-project/commit/11cf968d0d79f5809b4f3fd6b526f0d16ec2a6d1.diff
LOG: [NATVIS] Fix ConstantInt APInt value access (#221719)
Ensure we peek through the APInt::U VAL / *pVal union
Added:
Modified:
llvm/utils/LLVMVisualizers/llvm.natvis
Removed:
################################################################################
diff --git a/llvm/utils/LLVMVisualizers/llvm.natvis b/llvm/utils/LLVMVisualizers/llvm.natvis
index 454607a347b0c..bd9ca40ac3638 100644
--- a/llvm/utils/LLVMVisualizers/llvm.natvis
+++ b/llvm/utils/LLVMVisualizers/llvm.natvis
@@ -310,7 +310,7 @@ For later versions of Visual Studio, no setup is required.
</Type>
<Type Name="llvm::ConstantInt">
- <DisplayString>i{Val.BitWidth} {Val.VAL}</DisplayString>
+ <DisplayString>i{Val.BitWidth} {Val}</DisplayString>
</Type>
<Type Name="llvm::IntegerType">
More information about the llvm-commits
mailing list