Added the ability to restrict breakpoints by function name, function regexp, selector
etc to specific source files.
Added SB API's to specify these source files & also more than one module.
Added an "exact" option to CompileUnit's FindLineEntry API.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140362 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBCompileUnit.i b/scripts/Python/interface/SBCompileUnit.i
index a9294ec..6b37d1d 100644
--- a/scripts/Python/interface/SBCompileUnit.i
+++ b/scripts/Python/interface/SBCompileUnit.i
@@ -71,6 +71,12 @@
uint32_t line,
lldb::SBFileSpec *inline_file_spec) const;
+ uint32_t
+ FindLineEntryIndex (uint32_t start_idx,
+ uint32_t line,
+ lldb::SBFileSpec *inline_file_spec,
+ bool exact) const;
+
bool
GetDescription (lldb::SBStream &description);
};
diff --git a/scripts/Python/interface/SBFileSpecList.i b/scripts/Python/interface/SBFileSpecList.i
index 5ad4742..38a6f43 100644
--- a/scripts/Python/interface/SBFileSpecList.i
+++ b/scripts/Python/interface/SBFileSpecList.i
@@ -34,7 +34,7 @@
Clear();
uint32_t
- FindFileIndex (uint32_t idx, const SBFileSpec &sb_file);
+ FindFileIndex (uint32_t idx, const SBFileSpec &sb_file, bool full);
const SBFileSpec
GetFileSpecAtIndex (uint32_t idx) const;