forked from OSchip/llvm-project
If a library has no N_FUN symbols we don't succeed in finding resolver symbols, now we do.
<rdar://problem/15831334> llvm-svn: 199345
This commit is contained in:
parent
d81088c540
commit
baf2c2211d
|
@ -2882,7 +2882,7 @@ ObjectFileMachO::ParseSymtab ()
|
|||
else
|
||||
{
|
||||
if (resolver_addresses.find(nlist.n_value) != resolver_addresses.end())
|
||||
sym[sym_idx].SetType (eSymbolTypeResolver);
|
||||
type = eSymbolTypeResolver;
|
||||
}
|
||||
}
|
||||
else if (type == eSymbolTypeData)
|
||||
|
@ -3650,7 +3650,7 @@ ObjectFileMachO::ParseSymtab ()
|
|||
else
|
||||
{
|
||||
if (resolver_addresses.find(nlist.n_value) != resolver_addresses.end())
|
||||
sym[sym_idx].SetType (eSymbolTypeResolver);
|
||||
type = eSymbolTypeResolver;
|
||||
}
|
||||
}
|
||||
else if (type == eSymbolTypeData)
|
||||
|
|
Loading…
Reference in New Issue