diff options
author | walter erquinigo <walter@modular.com> | 2024-07-05 11:50:02 -0400 |
---|---|---|
committer | walter erquinigo <walter@modular.com> | 2024-07-05 13:12:13 -0400 |
commit | 3bfc5167d9e49b9a53e364e8d8853fce543cca0f (patch) | |
tree | 3ccfd2dbcaf1952806a1f4d82ac250c433e3ba61 /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | 6c1c97c5b6744397063d9976bead154be38b8388 (diff) | |
download | llvm-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.cpp | 3 |
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; } |