summaryrefslogtreecommitdiff
path: root/scripts/interface/SBModule.i
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/interface/SBModule.i')
-rw-r--r--scripts/interface/SBModule.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/interface/SBModule.i b/scripts/interface/SBModule.i
index 71a2198609d6..adda954e5bfb 100644
--- a/scripts/interface/SBModule.i
+++ b/scripts/interface/SBModule.i
@@ -179,6 +179,23 @@ public:
lldb::SBCompileUnit
GetCompileUnitAtIndex (uint32_t);
+ %feature("docstring", "
+ //------------------------------------------------------------------
+ /// Find compile units related to *this module and passed source
+ /// file.
+ ///
+ /// @param[in] sb_file_spec
+ /// A lldb::SBFileSpec object that contains source file
+ /// specification.
+ ///
+ /// @return
+ /// A lldb::SBSymbolContextList that gets filled in with all of
+ /// the symbol contexts for all the matches.
+ //------------------------------------------------------------------
+ ") FindCompileUnits;
+ lldb::SBSymbolContextList
+ FindCompileUnits (const lldb::SBFileSpec &sb_file_spec);
+
size_t
GetNumSymbols ();