From 219ba1969bc8e454c7c3e4eed599865e4ae398fe Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Mon, 5 Mar 2012 04:47:34 +0000 Subject: 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 --- lldb/source/Target/Target.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/source/Target/Target.cpp') 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) { -- cgit v1.2.3