[Lldb-commits] [lldb] r221850 - Do not override the existing definition of addr_size when adding new properties to SBTarget. Fixes rdar://18963842

Enrico Granata egranata at apple.com
Wed Nov 12 17:38:39 PST 2014


Author: enrico
Date: Wed Nov 12 19:38:38 2014
New Revision: 221850

URL: http://llvm.org/viewvc/llvm-project?rev=221850&view=rev
Log:
Do not override the existing definition of addr_size when adding new properties to SBTarget. Fixes rdar://18963842

Modified:
    lldb/trunk/scripts/Python/interface/SBTarget.i

Modified: lldb/trunk/scripts/Python/interface/SBTarget.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBTarget.i?rev=221850&r1=221849&r2=221850&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBTarget.i (original)
+++ lldb/trunk/scripts/Python/interface/SBTarget.i Wed Nov 12 19:38:38 2014
@@ -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.''')





More information about the lldb-commits mailing list