Commit fd8fee74 authored by Eike Ziller's avatar Eike Ziller Committed by hjk

LLDB: Fix Qt4/QSet dumper

Change-Id: I90d3e81653266f660c27f14093459a84873b6dd3
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent bad7b172
......@@ -1580,7 +1580,12 @@ def qdump__QSet(d, value):
for i in d.childRange():
it = node.dereference().cast(innerType)
with SubItem(d, i):
d.putItem(it["key"])
key = it["key"]
if not key:
# LLDB can't access directly since it's in anonymous union
# for Qt4 optimized int keytype
key = it[1]["key"]
d.putItem(key)
node = hashDataNextNode(node, numBuckets)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment