[Lldb-commits] [PATCH] D71311: LanguageRuntime: Simplify NSException::GetSummary() output
Jim Ingham via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 10 16:18:07 PST 2019
jingham added inline comments.
================
Comment at: lldb/source/Plugins/Language/ObjC/NSException.cpp:107-109
+ if (NSStringSummaryProvider(*reason_sp, reason_str_summary, options) &&
+ !reason_str_summary.Empty()) {
+ stream.Printf("%s", reason_str_summary.GetData());
----------------
I wonder if it would be better to print "No reason" as the summary when there's not a reason string? Having the summary generally be there, but then not be there at all when the exception wasn't given a reason string, is a little disconcerting.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71311/new/
https://reviews.llvm.org/D71311
More information about the lldb-commits
mailing list