summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBBlock.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-09-26 07:11:27 +0000
committerGreg Clayton <gclayton@apple.com>2011-09-26 07:11:27 +0000
commit8f7180b11e024406e50ed53e27c95af461e6ec4d (patch)
tree58923ba4e035f927163db21665e0d69d20699317 /lldb/scripts/Python/interface/SBBlock.i
parent1748b37acd1826d9f02f75fbace1be49a596eae1 (diff)
downloadbcm5719-llvm-8f7180b11e024406e50ed53e27c95af461e6ec4d.tar.gz
bcm5719-llvm-8f7180b11e024406e50ed53e27c95af461e6ec4d.zip
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. llvm-svn: 140518
Diffstat (limited to 'lldb/scripts/Python/interface/SBBlock.i')
-rw-r--r--lldb/scripts/Python/interface/SBBlock.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBBlock.i b/lldb/scripts/Python/interface/SBBlock.i
index ec11fc1f00c..83895edcc06 100644
--- a/lldb/scripts/Python/interface/SBBlock.i
+++ b/lldb/scripts/Python/interface/SBBlock.i
@@ -63,6 +63,10 @@ public:
lldb::SBBlock
GetParent ();
+ %feature("docstring", "Get the inlined block that is or contains this block.") GetContainingInlinedBlock;
+ lldb::SBBlock
+ GetContainingInlinedBlock ();
+
%feature("docstring", "Get the sibling block for this block.") GetSibling;
lldb::SBBlock
GetSibling ();
@@ -70,6 +74,18 @@ public:
%feature("docstring", "Get the first child block.") GetFirstChild;
lldb::SBBlock
GetFirstChild ();
+
+ uint32_t
+ GetNumRanges ();
+
+ lldb::SBAddress
+ GetRangeStartAddress (uint32_t idx);
+
+ lldb::SBAddress
+ GetRangeEndAddress (uint32_t idx);
+
+ uint32_t
+ GetRangeIndexForBlockAddress (lldb::SBAddress block_addr);
bool
GetDescription (lldb::SBStream &description);
OpenPOWER on IntegriCloud