[Lldb-commits] [lldb] r154361 - /lldb/trunk/examples/synthetic/gnu_libstdcpp.py
Enrico Granata
egranata at apple.com
Mon Apr 9 17:11:04 PDT 2012
Author: enrico
Date: Mon Apr 9 19:11:03 2012
New Revision: 154361
URL: http://llvm.org/viewvc/llvm-project?rev=154361&view=rev
Log:
Fixing a problem where some uninitialized cases of vectors could cause diagnostic output from the synthetic children providers - this time the fix should work
Modified:
lldb/trunk/examples/synthetic/gnu_libstdcpp.py
Modified: lldb/trunk/examples/synthetic/gnu_libstdcpp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/synthetic/gnu_libstdcpp.py?rev=154361&r1=154360&r2=154361&view=diff
==============================================================================
--- lldb/trunk/examples/synthetic/gnu_libstdcpp.py (original)
+++ lldb/trunk/examples/synthetic/gnu_libstdcpp.py Mon Apr 9 19:11:03 2012
@@ -12,6 +12,8 @@
def __init__(self, valobj, dict):
logger = Logger.Logger()
self.valobj = valobj
+ self.count = None
+ logger >> "Providing synthetic children for a map named " + str(valobj.GetName())
def next_node(self,node):
logger = Logger.Logger()
@@ -134,7 +136,9 @@
def __init__(self, valobj, dict):
logger = Logger.Logger()
- self.valobj = valobj;
+ self.count = None
+ self.valobj = valobj
+ logger >> "Providing synthetic children for a map named " + str(valobj.GetName())
def num_children(self):
logger = Logger.Logger()
@@ -228,6 +232,7 @@
def __init__(self, valobj, dict):
logger = Logger.Logger()
self.valobj = valobj;
+ self.count = None
logger >> "Providing synthetic children for a map named " + str(valobj.GetName())
# we need this function as a temporary workaround for rdar://problem/10801549
More information about the lldb-commits
mailing list