[Lldb-commits] [lldb] r236826 - Re-enable compute load address for shared modules
Tamas Berghammer
tberghammer at google.com
Fri May 8 04:07:06 PDT 2015
Author: tberghammer
Date: Fri May 8 06:07:05 2015
New Revision: 236826
URL: http://llvm.org/viewvc/llvm-project?rev=236826&view=rev
Log:
Re-enable compute load address for shared modules
It is required because of systems using PIE code
Modified:
lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
Modified: lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp?rev=236826&r1=236825&r2=236826&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp Fri May 8 06:07:05 2015
@@ -567,9 +567,6 @@ DynamicLoaderPOSIXDYLD::ComputeLoadOffse
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())
More information about the lldb-commits
mailing list