[Lldb-commits] [lldb] r136887 - in /lldb/trunk: examples/synthetic/CFString.py test/functionalities/data-formatter/data-formatter-objc/CFString.py
Enrico Granata
granata.enrico at gmail.com
Thu Aug 4 10:14:03 PDT 2011
Author: enrico
Date: Thu Aug 4 12:14:03 2011
New Revision: 136887
URL: http://llvm.org/viewvc/llvm-project?rev=136887&view=rev
Log:
changing CFString.py to reflect the new behavior of CreateValueFromAddress
Modified:
lldb/trunk/examples/synthetic/CFString.py
lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/CFString.py
Modified: lldb/trunk/examples/synthetic/CFString.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/synthetic/CFString.py?rev=136887&r1=136886&r2=136887&view=diff
==============================================================================
--- lldb/trunk/examples/synthetic/CFString.py (original)
+++ lldb/trunk/examples/synthetic/CFString.py Thu Aug 4 12:14:03 2011
@@ -94,7 +94,7 @@
if self.explicit == False:
offset = offset + 1;
return self.valobj.CreateValueFromAddress("content",
- offset, self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar));
+ offset, self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar)).AddressOf();
def handle_UTF8_not_inline(self):
offset = self.size_of_cfruntime_base();
Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/CFString.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/CFString.py?rev=136887&r1=136886&r2=136887&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/CFString.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/CFString.py Thu Aug 4 12:14:03 2011
@@ -94,7 +94,7 @@
if self.explicit == False:
offset = offset + 1;
return self.valobj.CreateValueFromAddress("content",
- offset, self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar));
+ offset, self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar)).AddressOf();
def handle_UTF8_not_inline(self):
offset = self.size_of_cfruntime_base();
More information about the lldb-commits
mailing list