summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBSymbol.i15
1 files changed, 14 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBSymbol.i b/lldb/scripts/Python/interface/SBSymbol.i
index 0b5342a53f6..4995c4f9c49 100644
--- a/lldb/scripts/Python/interface/SBSymbol.i
+++ b/lldb/scripts/Python/interface/SBSymbol.i
@@ -52,7 +52,13 @@ public:
bool
GetDescription (lldb::SBStream &description);
-
+
+ bool
+ IsExternal();
+
+ bool
+ IsSynthetic();
+
%pythoncode %{
def get_instructions_from_current_target (self):
return self.GetInstructions (target)
@@ -77,6 +83,13 @@ public:
__swig_getmethods__["instructions"] = get_instructions_from_current_target
if _newclass: x = property(get_instructions_from_current_target, None)
+
+ __swig_getmethods__["external"] = IsExternal
+ if _newclass: x = property(IsExternal, None)
+
+ __swig_getmethods__["synthetic"] = IsSynthetic
+ if _newclass: x = property(IsSynthetic, None)
+
%}
OpenPOWER on IntegriCloud