summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBModule.i
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-03-16 21:55:42 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-03-16 21:55:42 +0000
commit1b72f09150b1333e33773882e9c035ac896acc5e (patch)
tree2d03ba33e15db13fdbd92fb68812690f937f9ed6 /lldb/scripts/Python/interface/SBModule.i
parentf6af30f4c7d91d61d2ccb7cdb450872c11eef214 (diff)
downloadbcm5719-llvm-1b72f09150b1333e33773882e9c035ac896acc5e.tar.gz
bcm5719-llvm-1b72f09150b1333e33773882e9c035ac896acc5e.zip
Export the APIs submitted by Dawn to the Python bindings. Add a simple test case for the SBModule.compile_unit_iter() API.
llvm-svn: 152952
Diffstat (limited to 'lldb/scripts/Python/interface/SBModule.i')
-rw-r--r--lldb/scripts/Python/interface/SBModule.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i
index c826134ff42..1b6d4ecac43 100644
--- a/lldb/scripts/Python/interface/SBModule.i
+++ b/lldb/scripts/Python/interface/SBModule.i
@@ -165,6 +165,12 @@ public:
bool
GetDescription (lldb::SBStream &description);
+ uint32_t
+ GetNumCompileUnits();
+
+ lldb::SBCompileUnit
+ GetCompileUnitAtIndex (uint32_t);
+
size_t
GetNumSymbols ();
OpenPOWER on IntegriCloud