natvis for hash table

This commit is contained in:
Nikita Smith
2025-05-15 17:15:53 -07:00
committed by Ryan Fleury
parent 71596b2f3e
commit f2c7e69844
+23 -1
View File
@@ -26,11 +26,11 @@
</LinkedListItems>
</Expand>
</Type>
<Type Name="LNK_SymbolList">
<AlternativeType Name="LNK_SectionList"/>
<AlternativeType Name="LNK_ChunkList"/>
<AlternativeType Name="LNK_ExportParseList"/>
<AlternativeType Name="LNK_InputImportList"/>
<AlternativeType Name="CV_SymbolList"/>
<DisplayString>{{count={count} first={first} last={last} }}</DisplayString>
<Expand>
@@ -115,6 +115,28 @@
<ValuePointer>v</ValuePointer>
</ArrayItems>
</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>
</AutoVisualizer>