forked from OSchip/llvm-project
changing CFString.py to reflect the new behavior of CreateValueFromAddress
llvm-svn: 136887
This commit is contained in:
parent
61408e0856
commit
4443d8c321
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue