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.

<rdar://problem/20828139>

llvm-svn: 236622
This commit is contained in:
Sean Callanan 2015-05-06 18:33:19 +00:00
parent ba558951d8
commit ac28c7044f
1 changed files with 1 additions and 1 deletions

View File

@ -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());