Added more functionality to the public API to allow for better
symbolication. Also improved the SBInstruction API to allow
access to the instruction opcode name, mnemonics, comment and
instruction data.
Added the ability to edit SBLineEntry objects (change the file,
line and column), and also allow SBSymbolContext objects to be
modified (set module, comp unit, function, block, line entry
or symbol).
The SymbolContext and SBSymbolContext can now generate inlined
call stack infomration for symbolication much easier using the
SymbolContext::GetParentInlinedFrameInfo(...) and
SBSymbolContext::GetParentInlinedFrameInfo(...) methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140518 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBSymbolContext.i b/scripts/Python/interface/SBSymbolContext.i
index c8ef8eb..00d80da 100644
--- a/scripts/Python/interface/SBSymbolContext.i
+++ b/scripts/Python/interface/SBSymbolContext.i
@@ -58,12 +58,25 @@
bool
IsValid () const;
- SBModule GetModule ();
- SBCompileUnit GetCompileUnit ();
- SBFunction GetFunction ();
- SBBlock GetBlock ();
- SBLineEntry GetLineEntry ();
- SBSymbol GetSymbol ();
+ lldb::SBModule GetModule ();
+ lldb::SBCompileUnit GetCompileUnit ();
+ lldb::SBFunction GetFunction ();
+ lldb::SBBlock GetBlock ();
+ lldb::SBLineEntry GetLineEntry ();
+ lldb::SBSymbol GetSymbol ();
+
+ void SetModule (lldb::SBModule module);
+ void SetCompileUnit (lldb::SBCompileUnit compile_unit);
+ void SetFunction (lldb::SBFunction function);
+ void SetBlock (lldb::SBBlock block);
+ void SetLineEntry (lldb::SBLineEntry line_entry);
+ void SetSymbol (lldb::SBSymbol symbol);
+
+ lldb::SBSymbolContext
+ GetParentInlinedFrameInfo (const lldb::SBAddress &curr_frame_pc,
+ bool is_concrete_frame,
+ lldb::SBAddress &parent_frame_addr) const;
+
bool
GetDescription (lldb::SBStream &description);