aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorwalter erquinigo <walter@modular.com>2024-07-05 11:50:02 -0400
committerwalter erquinigo <walter@modular.com>2024-07-05 13:12:13 -0400
commit3bfc5167d9e49b9a53e364e8d8853fce543cca0f (patch)
tree3ccfd2dbcaf1952806a1f4d82ac250c433e3ba61 /lldb/source/Commands/CommandObjectBreakpoint.cpp
parent6c1c97c5b6744397063d9976bead154be38b8388 (diff)
downloadllvm-3bfc5167d9e49b9a53e364e8d8853fce543cca0f.zip
llvm-3bfc5167d9e49b9a53e364e8d8853fce543cca0f.tar.gz
llvm-3bfc5167d9e49b9a53e364e8d8853fce543cca0f.tar.bz2
[lldb-dap][NFC] Minor rename
As a minor follow up for https://github.com/llvm/llvm-project/pull/97675, I'm renaming `SupportsExceptionBreakpoints` to `SupportsExceptionBreakpointsOnThrow` and adding a `SupportsExceptionBreakpointsOnCatch` to have a bit of more granularity.
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index a5fe927..773f8ed 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -317,7 +317,8 @@ public:
break;
default:
if (Language *languagePlugin = Language::FindPlugin(language)) {
- if (languagePlugin->SupportsExceptionBreakpoints()) {
+ if (languagePlugin->SupportsExceptionBreakpointsOnThrow() ||
+ languagePlugin->SupportsExceptionBreakpointsOnCatch()) {
m_exception_language = language;
break;
}