llvm-project/lldb/unittests/Host
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
CMakeLists.txt Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
ConnectionFileDescriptorTest.cpp Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
FileActionTest.cpp Fix headers for files added in r353047 2019-02-07 17:16:25 +00:00
FileSystemTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
HostInfoTest.cpp Clear the output string passed to GetHostName() 2019-04-17 03:13:06 +00:00
HostTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MainLoopTest.cpp [lldb-server] Introduce Socket::Initialize and Terminate to simply WSASocket setup 2019-04-10 04:57:18 +00:00
NativeProcessProtocolTest.cpp Implement GetSharedLibraryInfoAddress 2019-06-14 21:15:08 +00:00
ProcessLaunchInfoTest.cpp Fix headers for files added in r353047 2019-02-07 17:16:25 +00:00
SocketAddressTest.cpp [lldb-server] Introduce Socket::Initialize and Terminate to simply WSASocket setup 2019-04-10 04:57:18 +00:00
SocketTest.cpp Make ConnectionFileDescription work with all sockets 2019-05-30 23:30:35 +00:00
SocketTestUtilities.cpp Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
SocketTestUtilities.h Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
TaskPoolTest.cpp [lldb] A few minor fixes in TaskPool 2017-11-30 22:56:11 +00:00