Unbreak the build.

llvm-svn: 240711
This commit is contained in:
Greg Clayton 2015-06-25 22:20:02 +00:00
parent 2dad98c69b
commit 6f997133b0
2 changed files with 2 additions and 2 deletions

View File

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

View File

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