From d72ffc661d9bae61b92c6436193ffdfea1212137 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Thu, 13 Nov 2014 01:38:38 +0000 Subject: Do not override the existing definition of addr_size when adding new properties to SBTarget. Fixes rdar://18963842 llvm-svn: 221850 --- lldb/scripts/Python/interface/SBTarget.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 7a0096c41e3..bce19d60096 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -985,10 +985,10 @@ public: if _newclass: triple = property(GetTriple, None, doc='''A read only property that returns the target triple (arch-vendor-os) for this target as a string.''') __swig_getmethods__["data_byte_size"] = GetDataByteSize - if _newclass: addr_size = property(GetDataByteSize, None, doc='''A read only property that returns the size in host bytes of a byte in the data address space for this target.''') + if _newclass: data_byte_size = property(GetDataByteSize, None, doc='''A read only property that returns the size in host bytes of a byte in the data address space for this target.''') __swig_getmethods__["code_byte_size"] = GetCodeByteSize - if _newclass: addr_size = property(GetCodeByteSize, None, doc='''A read only property that returns the size in host bytes of a byte in the code address space for this target.''') + if _newclass: code_byte_size = property(GetCodeByteSize, None, doc='''A read only property that returns the size in host bytes of a byte in the code address space for this target.''') __swig_getmethods__["platform"] = GetPlatform if _newclass: platform = property(GetPlatform, None, doc='''A read only property that returns the platform associated with with this target.''') -- cgit v1.2.3