natvis for hash table

This commit is contained in:
Nikita Smith
2025-06-25 10:53:22 -07:00
committed by Ryan Fleury
parent 71596b2f3e
commit f2c7e69844
+23 -1
View File
@@ -26,11 +26,11 @@
</LinkedListItems> </LinkedListItems>
</Expand> </Expand>
</Type> </Type>
<Type Name="LNK_SymbolList"> <Type Name="LNK_SymbolList">
<AlternativeType Name="LNK_SectionList"/> <AlternativeType Name="LNK_SectionList"/>
<AlternativeType Name="LNK_ChunkList"/> <AlternativeType Name="LNK_ChunkList"/>
<AlternativeType Name="LNK_ExportParseList"/> <AlternativeType Name="LNK_ExportParseList"/>
<AlternativeType Name="LNK_InputImportList"/>
<AlternativeType Name="CV_SymbolList"/> <AlternativeType Name="CV_SymbolList"/>
<DisplayString>{{count={count} first={first} last={last} }}</DisplayString> <DisplayString>{{count={count} first={first} last={last} }}</DisplayString>
<Expand> <Expand>
@@ -115,6 +115,28 @@
<ValuePointer>v</ValuePointer> <ValuePointer>v</ValuePointer>
</ArrayItems> </ArrayItems>
</Expand> </Expand>
</Type>
<Type Name="BucketList">
<DisplayString Condition="first == 0">empty</DisplayString>
<Expand>
<LinkedListItems>
<HeadPointer>first</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>v</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="HashTable">
<Expand>
<Item Name="[cap]">cap</Item>
<Item Name="[count]">count</Item>
<Item Name="[free buckets]">free_buckets</Item>
<ArrayItems>
<Size>cap</Size>
<ValuePointer>buckets</ValuePointer>
</ArrayItems>
</Expand>
</Type> </Type>
</AutoVisualizer> </AutoVisualizer>