[Lldb-commits] [PATCH] D84272: Add checks for ValueObjectSP in Cocoa summary providers
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 23 10:17:10 PDT 2020
shafik added a comment.
I updated to include the radar number.
So we have a crash in `NSStringSummaryProvider(...)` when calling `valobj.GetProcessSP()` and we have what looks like a `nullptr` e.g. `0x0000000000000068`
In this specific case we are coming from `NSBundleSummaryProvider(...)` and so we have some situation where `text` is not valid but we don't have enough information to reproduce it.
We are doing a very similar check in `NSURLSummaryProvider(...)` and so this is just a defensive check in the rest of the function to mirror that one.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84272/new/
https://reviews.llvm.org/D84272
More information about the lldb-commits
mailing list