[Lldb-commits] [PATCH] D12233: Add absolute load address support for the DynamicLoader plugins

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 21 04:45:09 PDT 2015


tberghammer created this revision.
tberghammer added reviewers: sas, clayborg.
tberghammer added a subscriber: lldb-commits.

Add absolute load address support for the DynamicLoader plugins

The POSIX linker generally reports the load bias for the loaded
libraries but in some case it is useful to handle a library based on
absolute load address. Example use cases:
* Windows linker uses absolute addresses
* Library list came from different source (e.g. /proc/<pid>/maps)

http://reviews.llvm.org/D12233

Files:
  include/lldb/Target/DynamicLoader.h
  source/Core/DynamicLoader.cpp
  source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
  source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h
  source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
  source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12233.32813.patch
Type: text/x-patch
Size: 18117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150821/e7fc24b8/attachment-0001.bin>


More information about the lldb-commits mailing list