llvm-project/lldb/source/Plugins
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
..
ABI ABI: reflow the table text (NFC) 2019-06-10 16:32:33 +00:00
Architecture Simplify Triple::ppc64{,le} checks with Triple::isPPC64() 2019-05-16 09:07:33 +00:00
Disassembler [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
DynamicLoader Add support to read aux vector values 2019-06-11 20:16:13 +00:00
ExpressionParser [C++20] add Basic consteval specifier 2019-06-14 08:56:20 +00:00
Instruction Fix integer literals which are cast to bool 2019-05-24 00:44:33 +00:00
InstrumentationRuntime [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
JITLoader typedef enum -> enum 2019-05-14 08:55:50 +00:00
Language [Target][NFC] Rename GetCPPLanguageRuntime to Get 2019-06-10 21:04:31 +00:00
LanguageRuntime Re-land r363103 ("When reading ObjC class table, use new SPI if it is avail") 2019-06-12 21:44:53 +00:00
MemoryHistory [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
ObjectContainer [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
ObjectFile Recognise debug_types.dwo as a debug info section 2019-06-12 11:42:42 +00:00
OperatingSystem [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
Platform [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
Process Implement GetSharedLibraryInfoAddress 2019-06-14 21:15:08 +00:00
ScriptInterpreter [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
StructuredData C.128 override, virtual keyword handling 2019-05-03 10:03:28 +00:00
SymbolFile Don't try to parse ObjC method if CU isn't ObjC 2019-06-14 19:18:10 +00:00
SymbolVendor [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
SystemRuntime [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
UnwindAssembly Fix -Wsign-compare by explicit cast after r362557 2019-06-05 01:49:06 +00:00
CMakeLists.txt Move StopInfoOverride callback to the new architecture plugin 2017-10-25 21:05:31 +00:00