diff options
author | Jim Ingham <jingham@apple.com> | 2015-12-18 02:14:04 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2015-12-18 02:14:04 +0000 |
commit | a202357197adcf0b7839aa6aad421488795f950a (patch) | |
tree | 52b18159f13b1914ca128e68db12b3e238397267 /lldb/source/Target/LanguageRuntime.cpp | |
parent | a6b96004b57375ed60a8d56b979dc4a900be6c9e (diff) | |
download | bcm5719-llvm-a202357197adcf0b7839aa6aad421488795f950a.tar.gz bcm5719-llvm-a202357197adcf0b7839aa6aad421488795f950a.zip |
Make the Language print the description of the Exception Breakpoint resolver. Also
have the breakpoint description print the precondition description if one exists.
No behavior change.
<rdar://problem/22885189>
llvm-svn: 255972
Diffstat (limited to 'lldb/source/Target/LanguageRuntime.cpp')
-rw-r--r-- | lldb/source/Target/LanguageRuntime.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp index a638a2c4480..b1e2b3eb04f 100644 --- a/lldb/source/Target/LanguageRuntime.cpp +++ b/lldb/source/Target/LanguageRuntime.cpp @@ -163,10 +163,12 @@ public: void GetDescription (Stream *s) override { - s->Printf ("Exception breakpoint (catch: %s throw: %s)", - m_catch_bp ? "on" : "off", - m_throw_bp ? "on" : "off"); - + Language *language_plugin = Language::FindPlugin(m_language); + if (language_plugin) + language_plugin->GetExceptionResolverDescription(m_catch_bp, m_throw_bp, *s); + else + Language::GetDefaultExceptionResolverDescription(m_catch_bp, m_throw_bp, *s); + SetActualResolver(); if (m_actual_resolver_sp) { |