Author: Jonas Devlieghere Date: 2020-09-11T17:37:14-07:00 New Revision: 33eb64704292dc2fc8585b8aa7459f96482c6cf9
URL: https://github.com/llvm/llvm-project/commit/33eb64704292dc2fc8585b8aa7459f96482c6cf9 DIFF: https://github.com/llvm/llvm-project/commit/33eb64704292dc2fc8585b8aa7459f96482c6cf9.diff LOG: [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 Added: Modified: lldb/source/Plugins/Language/ObjC/NSDictionary.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp index 3dc07678f92f5..b3209160cecf0 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; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits