diff options
author | Jim Ingham <jingham@apple.com> | 2011-09-23 00:54:11 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-09-23 00:54:11 +0000 |
commit | 87df91b8661737980b58f7d1d05c27534c57f490 (patch) | |
tree | 14e962e25baadb5013438b6686d0c9b1f64922d2 /lldb/scripts/Python | |
parent | b9a11322b13a13dfcccb79cb34ebfc4a84d65bfd (diff) | |
download | bcm5719-llvm-87df91b8661737980b58f7d1d05c27534c57f490.tar.gz bcm5719-llvm-87df91b8661737980b58f7d1d05c27534c57f490.zip |
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.
llvm-svn: 140362
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/interface/SBCompileUnit.i | 6 | ||||
-rw-r--r-- | lldb/scripts/Python/interface/SBFileSpecList.i | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBCompileUnit.i b/lldb/scripts/Python/interface/SBCompileUnit.i index a9294ec5d97..6b37d1d2afb 100644 --- a/lldb/scripts/Python/interface/SBCompileUnit.i +++ b/lldb/scripts/Python/interface/SBCompileUnit.i @@ -71,6 +71,12 @@ public: 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/lldb/scripts/Python/interface/SBFileSpecList.i b/lldb/scripts/Python/interface/SBFileSpecList.i index 5ad4742d687..38a6f43bdc7 100644 --- a/lldb/scripts/Python/interface/SBFileSpecList.i +++ b/lldb/scripts/Python/interface/SBFileSpecList.i @@ -34,7 +34,7 @@ public: 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; |