Fix [vdso] handling on Android (x86 and aarch64)
authorTamas Berghammer <tberghammer@google.com>
Tue, 30 Jun 2015 10:41:23 +0000 (10:41 +0000)
committerTamas Berghammer <tberghammer@google.com>
Tue, 30 Jun 2015 10:41:23 +0000 (10:41 +0000)
commitf256184693d166f23eb2d0ed6379e9348909c7d2
tree9b692c2f9c750d8dd00319490cd312e8a54667df
parentcd4994e925bb159e3a818cc1a6b51017e922433f
Fix [vdso] handling on Android (x86 and aarch64)

* Add in-memory object file handling to the core dynamic loader
* Fix in memory object file handling in ObjectFileELF (previously
  only part of the file was loaded before parsing)
* Fix load address setting in ObjectFileELF for 32-bit targets
  when the load bias is negative
* Change hack in DYLDRendezvous.cpp to be more specific and not to
  interfere with object files with fixed load address

Differential revision: http://reviews.llvm.org/D10800

llvm-svn: 241057
lldb/source/Core/DynamicLoader.cpp
lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h