Meta: Update gdb script for changes in HashTable

This commit is contained in:
Ali Mohammad Pur 2022-04-02 00:34:33 +04:30 committed by Linus Groh
parent 086969277e
commit 899888bbf2

View file

@ -292,7 +292,8 @@ class AKHashMapPrettyPrinter:
buckets = val["m_buckets"]
for i in range(0, val["m_capacity"]):
bucket = buckets[i]
if bucket["used"]:
# if state == Used
if bucket["state"] & 0xf0 == 0x10:
cb(bucket["storage"].cast(entry_type_ptr))
@staticmethod