Re-enable compute load address for shared modules

It is required because of systems using PIE code

llvm-svn: 236826
This commit is contained in:
Tamas Berghammer 2015-05-08 11:07:05 +00:00
parent 24862eaca0
commit 84dc009bef
1 changed files with 0 additions and 3 deletions

View File

@ -567,9 +567,6 @@ DynamicLoaderPOSIXDYLD::ComputeLoadOffset()
if (!exe)
return LLDB_INVALID_ADDRESS;
if (exe->GetType() != ObjectFile::Type::eTypeExecutable)
return LLDB_INVALID_ADDRESS;
Address file_entry = exe->GetEntryPointAddress();
if (!file_entry.IsValid())