[all-commits] [llvm/llvm-project] 6700f4: [LLDB] Add checks for ValueObjectSP in Cocoa summa...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Wed Jul 29 14:47:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6700f4b9fe6321ef704efa4890af5bc351a124f0
https://github.com/llvm/llvm-project/commit/6700f4b9fe6321ef704efa4890af5bc351a124f0
Author: shafik <syaghmour at apple.com>
Date: 2020-07-29 (Wed, 29 Jul 2020)
Changed paths:
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
Log Message:
-----------
[LLDB] Add checks for ValueObjectSP in Cocoa summary providers
We saw a crash recently (rdar://problem/65276489) that looks related to an invalid ValueObjectSP in a summary providers in Cocoa.cpp e.g. NSBundleSummaryProvider(...).
This adds checks before we use them usually by calling NSStringSummaryProvider.
Differential Revision: https://reviews.llvm.org/D84272
More information about the All-commits
mailing list