summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface/SBTarget.i
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-04-28 01:40:57 +0000
committerJim Ingham <jingham@apple.com>2016-04-28 01:40:57 +0000
commit76bb8d6719c2f664a69c4e2e89664c230f807a3b (patch)
tree23cecaf99000645d1da0f8027fa7b2cd61e843ae /lldb/scripts/interface/SBTarget.i
parent8bdcd522510f923185cdfaec66c4a78d0a0d38c0 (diff)
downloadbcm5719-llvm-76bb8d6719c2f664a69c4e2e89664c230f807a3b.tar.gz
bcm5719-llvm-76bb8d6719c2f664a69c4e2e89664c230f807a3b.zip
Add the ability to limit "source regexp" breakpoints to a particular function
within a source file. This isn't done, I need to make the name match smarter (right now it requires an exact match which is annoying for methods of a class in a namespace. Also, though we use it in tests all over the place, it doesn't look like we have a test for Source Regexp breakpoints by themselves, I'll add that in a follow-on patch. llvm-svn: 267834
Diffstat (limited to 'lldb/scripts/interface/SBTarget.i')
-rw-r--r--lldb/scripts/interface/SBTarget.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBTarget.i b/lldb/scripts/interface/SBTarget.i
index b2409eba55c..6198c35fbd7 100644
--- a/lldb/scripts/interface/SBTarget.i
+++ b/lldb/scripts/interface/SBTarget.i
@@ -676,6 +676,12 @@ public:
BreakpointCreateBySourceRegex (const char *source_regex, const lldb::SBFileSpecList &module_list, const lldb::SBFileSpecList &file_list);
lldb::SBBreakpoint
+ BreakpointCreateBySourceRegex (const char *source_regex,
+ const SBFileSpecList &module_list,
+ const SBFileSpecList &source_file,
+ const SBStringList &func_names);
+
+ lldb::SBBreakpoint
BreakpointCreateForException (lldb::LanguageType language,
bool catch_bp,
bool throw_bp);
OpenPOWER on IntegriCloud