forked from OSchip/llvm-project
parent
2dad98c69b
commit
6f997133b0
|
@ -64,7 +64,7 @@ static lldb::addr_t findSymbolAddress( Process *proc, ConstString findName )
|
||||||
|
|
||||||
if ( ConstString::Compare( findName, symName ) == 0 )
|
if ( ConstString::Compare( findName, symName ) == 0 )
|
||||||
{
|
{
|
||||||
Address addr = sym->GetAddressObj( );
|
Address addr = sym->GetAddress();
|
||||||
return addr.GetLoadAddress( & proc->GetTarget() );
|
return addr.GetLoadAddress( & proc->GetTarget() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -332,7 +332,7 @@ HexagonDYLDRendezvous::FindMetadata(const char *name, PThreadField field, uint32
|
||||||
if (!target.GetImages().FindSymbolsWithNameAndType (ConstString(name), eSymbolTypeAny, list))
|
if (!target.GetImages().FindSymbolsWithNameAndType (ConstString(name), eSymbolTypeAny, list))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Address address = list[0].symbol->GetAddressObj();
|
Address address = list[0].symbol->GetAddress();
|
||||||
addr_t addr = address.GetLoadAddress (&target);
|
addr_t addr = address.GetLoadAddress (&target);
|
||||||
if (addr == LLDB_INVALID_ADDRESS)
|
if (addr == LLDB_INVALID_ADDRESS)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue