From f73363f1dd94996356cefbf24388f561891acf0b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 11:09:23 +0000 Subject: Vendor import of lldb trunk r338150: https://llvm.org/svn/llvm-project/lldb/trunk@338150 --- scripts/interface/SBModule.i | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'scripts/interface/SBModule.i') 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 (); -- cgit v1.3