forked from OSchip/llvm-project
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:
parent
ba558951d8
commit
ac28c7044f
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue