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/source/Commands/CommandObjectThread.cpp | |
parent | b9a11322b13a13dfcccb79cb34ebfc4a84d65bfd (diff) | |
download | llvm-87df91b8661737980b58f7d1d05c27534c57f490.zip llvm-87df91b8661737980b58f7d1d05c27534c57f490.tar.gz llvm-87df91b8661737980b58f7d1d05c27534c57f490.tar.bz2 |
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/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 68de872..8e4ae8d 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -999,7 +999,8 @@ public: while (index_ptr <= end_ptr) { LineEntry line_entry; - index_ptr = sc.comp_unit->FindLineEntry(index_ptr, line_number, sc.comp_unit, &line_entry); + const bool exact = false; + index_ptr = sc.comp_unit->FindLineEntry(index_ptr, line_number, sc.comp_unit, exact, &line_entry); if (index_ptr == UINT32_MAX) break; |