From: Jonas Devlieghere Date: Fri, 11 Sep 2020 20:25:40 +0000 (-0700) Subject: [lldb] Use GetNonKVOClassDescriptor to get the NSDictionary class descriptor X-Git-Tag: llvmorg-13-init~12294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33eb64704292dc2fc8585b8aa7459f96482c6cf9;p=platform%2Fupstream%2Fllvm.git [lldb] Use GetNonKVOClassDescriptor to get the NSDictionary class descriptor On macOS Big Sur the class descriptor contains the NSKVONotifying_ prefix. This is covered by TestDataFormatterObjCKVO. Differential revision: https://reviews.llvm.org/D87545 --- diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp index 3dc0767..b320916 100644 --- a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp +++ b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp @@ -388,7 +388,7 @@ bool lldb_private::formatters::NSDictionarySummaryProvider( return false; ObjCLanguageRuntime::ClassDescriptorSP descriptor( - runtime->GetClassDescriptor(valobj)); + runtime->GetNonKVOClassDescriptor(valobj)); if (!descriptor || !descriptor->IsValid()) return false;