From ac28c7044f6c9c35c54f955bfdbd6f97c13bf306 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Wed, 6 May 2015 18:33:19 +0000 Subject: [PATCH] Allow the gdb_objc_realized_classes symbol to be any type of symbol, which is okay since we are looking only in the Objective-C module. llvm-svn: 236622 --- .../ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 802b49660b99..52cc83711c71 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -965,7 +965,7 @@ AppleObjCRuntimeV2::GetISAHashTablePointer () static ConstString g_gdb_objc_realized_classes("gdb_objc_realized_classes"); - const Symbol *symbol = objc_module_sp->FindFirstSymbolWithNameAndType(g_gdb_objc_realized_classes, lldb::eSymbolTypeData); + const Symbol *symbol = objc_module_sp->FindFirstSymbolWithNameAndType(g_gdb_objc_realized_classes, lldb::eSymbolTypeAny); if (symbol) { lldb::addr_t gdb_objc_realized_classes_ptr = symbol->GetAddress().GetLoadAddress(&process->GetTarget());