Added the ability to get the target triple, byte order and address byte size
from the SBTarget and SBModule interfaces. Also added many python properties
for easier access to many things from many SB objects.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149191 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBLineEntry.i b/scripts/Python/interface/SBLineEntry.i
index e1631e9..bb61382 100644
--- a/scripts/Python/interface/SBLineEntry.i
+++ b/scripts/Python/interface/SBLineEntry.i
@@ -77,6 +77,24 @@
void
SetColumn (uint32_t column);
+ %pythoncode %{
+ __swig_getmethods__["file"] = GetFileSpec
+ if _newclass: x = property(GetFileSpec, None)
+
+ __swig_getmethods__["line"] = GetLine
+ if _newclass: x = property(GetLine, None)
+
+ __swig_getmethods__["column"] = GetColumn
+ if _newclass: x = property(GetColumn, None)
+
+ __swig_getmethods__["start_addr"] = GetStartAddress
+ if _newclass: x = property(GetStartAddress, None)
+
+ __swig_getmethods__["end_addr"] = GetEndAddress
+ if _newclass: x = property(GetEndAddress, None)
+
+ %}
+
};
} // namespace lldb