diff options
Diffstat (limited to 'lldb/scripts/interface/SBFunction.i')
-rw-r--r-- | lldb/scripts/interface/SBFunction.i | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lldb/scripts/interface/SBFunction.i b/lldb/scripts/interface/SBFunction.i index 87c7b13c55a..e3e6907e23f 100644 --- a/lldb/scripts/interface/SBFunction.i +++ b/lldb/scripts/interface/SBFunction.i @@ -40,8 +40,7 @@ For example (from test/lldbutil.py, but slightly modified for doc purpose), func='%s [inlined]' % func_name] if frame.IsInlined() else func_name, file=file_name, line=line_num, args=get_args_as_string(frame, showFuncName=False)) - ... -") SBFunction; + ...") SBFunction; class SBFunction { public: @@ -59,7 +58,7 @@ public: const char * GetName() const; - + const char * GetDisplayName() const; @@ -89,7 +88,7 @@ public: lldb::SBBlock GetBlock (); - + lldb::LanguageType GetLanguage (); @@ -97,7 +96,7 @@ public: Returns true if the function was compiled with optimization. Optimization, in this case, is meant to indicate that the debugger experience may be confusing for the user -- variables optimized away, - stepping jumping between source lines -- and the driver may want to + stepping jumping between source lines -- and the driver may want to provide some guidance to the user about this. Returns false if unoptimized, or unknown.") GetIsOptimized; bool @@ -105,13 +104,13 @@ public: bool GetDescription (lldb::SBStream &description); - + bool operator == (const lldb::SBFunction &rhs) const; - + bool operator != (const lldb::SBFunction &rhs) const; - + %pythoncode %{ def get_instructions_from_current_target (self): return self.GetInstructions (target) @@ -121,7 +120,7 @@ public: __swig_getmethods__["end_addr"] = GetEndAddress if _newclass: end_addr = property(GetEndAddress, None, doc='''A read only property that returns an lldb object that represents the end address (lldb.SBAddress) for this function.''') - + __swig_getmethods__["block"] = GetBlock if _newclass: block = property(GetBlock, None, doc='''A read only property that returns an lldb object that represents the top level lexical block (lldb.SBBlock) for this function.''') |