Quick fix for the libc++ std::map synthetic children provider
authorEnrico Granata <egranata@apple.com>
Sat, 9 Feb 2013 01:44:23 +0000 (01:44 +0000)
committerEnrico Granata <egranata@apple.com>
Sat, 9 Feb 2013 01:44:23 +0000 (01:44 +0000)
commite1fb1654c801621930af3a1822147f220e2e2df9
tree3aa7f0bb8167c8cc18889af94b3736a75fc971fb
parent7dab26b87cd4e957e1bc55e0b9ffbba9a7a3c19a
Quick fix for the libc++ std::map synthetic children provider
If you try to access any child > 0 without having touched child 0, LLDB won't be able to reconstruct type information from the debug info.
Previously, we would fail.
Now, we simply go fetch child 0 and then come back.

llvm-svn: 174795
lldb/examples/summaries/cocoa/Logger.py
lldb/examples/synthetic/libcxx.py