commit | 1dbf2a82654bebe365eb882b2cad9af413418222 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Fri Mar 16 21:55:42 2012 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Fri Mar 16 21:55:42 2012 +0000 |
tree | c6bad178eb04d38448f91f9363d3a4e5d7822411 | |
parent | 13555cccfcb4896a3d07cfcb2f7007816d03c05e [diff] [blame] |
Export the APIs submitted by Dawn to the Python bindings. Add a simple test case for the SBModule.compile_unit_iter() API. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152952 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBModule.i b/scripts/Python/interface/SBModule.i index c826134..1b6d4ec 100644 --- a/scripts/Python/interface/SBModule.i +++ b/scripts/Python/interface/SBModule.i
@@ -165,6 +165,12 @@ bool GetDescription (lldb::SBStream &description); + uint32_t + GetNumCompileUnits(); + + lldb::SBCompileUnit + GetCompileUnitAtIndex (uint32_t); + size_t GetNumSymbols ();