We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eefa05 commit bead12bCopy full SHA for bead12b
lldb/examples/synthetic/libcxx.py
@@ -764,9 +764,10 @@ def update(self):
764
map_.GetChildMemberWithName("__end_cap_")
765
)
766
else:
767
- map_endcap = map_.GetChildMemberWithName(
768
- "__end_cap_"
769
- ).GetValueAsUnsigned(0)
+ map_endcap = map_.GetChildMemberWithName("__cap_")
+ if not map_endcap.IsValid():
+ map_endcap = map_.GetChildMemberWithName("__end_cap_")
770
+ map_endcap = map_endcap.GetValueAsUnsigned(0)
771
772
# check consistency
773
if not map_first <= map_begin <= map_end <= map_endcap:
0 commit comments