changing CFString.py to reflect the new behavior of CreateValueFromAddress

llvm-svn: 136887
This commit is contained in:
Enrico Granata 2011-08-04 17:14:03 +00:00
parent 61408e0856
commit 4443d8c321
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class CFStringSynthProvider:
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();

View File

@ -94,7 +94,7 @@ class CFStringSynthProvider:
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();