[llvm] r349172 - Fix Visual Studio PointerIntPair visualizer
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 14 10:20:21 PST 2018
Author: zturner
Date: Fri Dec 14 10:20:21 2018
New Revision: 349172
URL: http://llvm.org/viewvc/llvm-project?rev=349172&view=rev
Log:
Fix Visual Studio PointerIntPair visualizer
Patch by: Trass3r
Differential Revision: https://reviews.llvm.org/D55252
Modified:
llvm/trunk/utils/LLVMVisualizers/llvm.natvis
Modified: llvm/trunk/utils/LLVMVisualizers/llvm.natvis
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/LLVMVisualizers/llvm.natvis?rev=349172&r1=349171&r2=349172&view=diff
==============================================================================
--- llvm/trunk/utils/LLVMVisualizers/llvm.natvis (original)
+++ llvm/trunk/utils/LLVMVisualizers/llvm.natvis Fri Dec 14 10:20:21 2018
@@ -85,10 +85,10 @@ For later versions of Visual Studio, no
</Type>
<Type Name="llvm::PointerIntPair<*,*,*,*>">
- <DisplayString>{IntMask}: {($T1)(Value & PointerBitMask)} [{($T3)((Value >> IntShift) & IntMask)}]</DisplayString>
+ <DisplayString>{$T5::IntMask}: {($T1)(Value & $T5::PointerBitMask)} [{($T3)((Value >> $T5::IntShift) & $T5::IntMask)}]</DisplayString>
<Expand>
- <Item Name="[ptr]">($T1)(Value & PointerBitMask)</Item>
- <Item Name="[int]">($T3)((Value >> IntShift) & IntMask)</Item>
+ <Item Name="[ptr]">($T1)(Value & $T5::PointerBitMask)</Item>
+ <Item Name="[int]">($T3)((Value >> $T5::IntShift) & $T5::IntMask)</Item>
</Expand>
</Type>
More information about the llvm-commits
mailing list