forked from OSchip/llvm-project
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:
parent
24862eaca0
commit
84dc009bef
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue