summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Target.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-03-05 04:47:34 +0000
committerJim Ingham <jingham@apple.com>2012-03-05 04:47:34 +0000
commit219ba1969bc8e454c7c3e4eed599865e4ae398fe (patch)
treed410092d02d88963ee58e4d2ab506f305a0954c6 /lldb/source/Target/Target.cpp
parenta5a6d6aa8f0aec63972b7f1d7bd69d5bd6d0ca15 (diff)
downloadbcm5719-llvm-219ba1969bc8e454c7c3e4eed599865e4ae398fe.tar.gz
bcm5719-llvm-219ba1969bc8e454c7c3e4eed599865e4ae398fe.zip
Make it possible to set Exception breakpoints when the target doesn't yet
have a process, then fetch the right runtime resolver when the process is made. llvm-svn: 152015
Diffstat (limited to 'lldb/source/Target/Target.cpp')
-rw-r--r--lldb/source/Target/Target.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index 01fb9747db9..f3b8a7832ab 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -385,6 +385,12 @@ Target::CreateFuncRegexBreakpoint (const FileSpecList *containingModules,
return CreateBreakpoint (filter_sp, resolver_sp, internal);
}
+lldb::BreakpointSP
+Target::CreateExceptionBreakpoint (enum lldb::LanguageType language, bool catch_bp, bool throw_bp, bool internal)
+{
+ return LanguageRuntime::CreateExceptionBreakpoint (*this, language, catch_bp, throw_bp, internal);
+}
+
BreakpointSP
Target::CreateBreakpoint (SearchFilterSP &filter_sp, BreakpointResolverSP &resolver_sp, bool internal)
{
OpenPOWER on IntegriCloud