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/Language.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/Language.cpp')
-rw-r--r-- | lldb/source/Target/Language.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lldb/source/Target/Language.cpp b/lldb/source/Target/Language.cpp index 8c392bee88c..b89e5490125 100644 --- a/lldb/source/Target/Language.cpp +++ b/lldb/source/Target/Language.cpp @@ -430,6 +430,19 @@ Language::GetFunctionDisplayName (const SymbolContext *sc, return false; } +void +Language::GetExceptionResolverDescription(bool catch_on, bool throw_on, Stream &s) +{ + GetDefaultExceptionResolverDescription(catch_on, throw_on, s); +} + +void +Language::GetDefaultExceptionResolverDescription(bool catch_on, bool throw_on, Stream &s) +{ + s.Printf ("Exception breakpoint (catch: %s throw: %s)", + catch_on ? "on" : "off", + throw_on ? "on" : "off"); +} //---------------------------------------------------------------------- // Constructor //---------------------------------------------------------------------- |