[Lldb-commits] [lldb] r163823 - /lldb/trunk/examples/synthetic/libcxx.py
Enrico Granata
egranata at apple.com
Thu Sep 13 11:47:25 PDT 2012
Author: enrico
Date: Thu Sep 13 13:47:25 2012
New Revision: 163823
URL: http://llvm.org/viewvc/llvm-project?rev=163823&view=rev
Log:
Making sure to create the count attribute in synthetic children providers for libcxx at the right time
Modified:
lldb/trunk/examples/synthetic/libcxx.py
Modified: lldb/trunk/examples/synthetic/libcxx.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/synthetic/libcxx.py?rev=163823&r1=163822&r2=163823&view=diff
==============================================================================
--- lldb/trunk/examples/synthetic/libcxx.py (original)
+++ lldb/trunk/examples/synthetic/libcxx.py Thu Sep 13 13:47:25 2012
@@ -203,6 +203,7 @@
def __init__(self, valobj, dict):
logger = lldb.formatters.Logger.Logger()
self.valobj = valobj
+ self.count = None
def next_node(self,node):
logger = lldb.formatters.Logger.Logger()
@@ -441,6 +442,7 @@
logger = lldb.formatters.Logger.Logger()
self.valobj = valobj;
self.pointer_size = self.valobj.GetProcess().GetAddressByteSize()
+ self.count = None
def update(self):
logger = lldb.formatters.Logger.Logger()
More information about the lldb-commits
mailing list