llvm-project/lldb/unittests/Process
Antonio Afonso f4335b8e3c Implement GetSharedLibraryInfoAddress
Summary:
This is the third patch to improve module loading in a series that started here (where I explain the motivation and solution): D62499

Add functions to read the r_debug location to know where the linked list of loaded libraries are so I can generate the `xfer:libraries-svr4` packet.
I'm also using this function to implement `GetSharedLibraryInfoAddress` that was "not implemented" for linux.
Most of this code was inspired by the current ds2 implementation here: https://github.com/facebook/ds2/blob/master/Sources/Target/POSIX/ELFProcess.cpp.

Reviewers: clayborg, xiaobai, labath

Reviewed By: clayborg, labath

Subscribers: emaste, krytarowski, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D62501

llvm-svn: 363458
2019-06-14 21:15:08 +00:00
..
Linux Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
POSIX Implement GetSharedLibraryInfoAddress 2019-06-14 21:15:08 +00:00
gdb-remote Create a generic handler for Xfer packets 2019-06-10 20:59:58 +00:00
minidump minidump: Remove checked-in files used for testing MemoryList handling 2019-05-20 08:22:59 +00:00
CMakeLists.txt Implement GetSharedLibraryInfoAddress 2019-06-14 21:15:08 +00:00