llvm-project/lldb/source
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
..
API [NFC] Replace a plugin header with a non-plugin header 2019-06-13 23:40:34 +00:00
Breakpoint [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
Commands [Expression] Add PersistentExpressionState::GetCompilerTypeFromPersistentDecl 2019-06-12 17:47:06 +00:00
Core Recognise debug_types.dwo as a debug info section 2019-06-12 11:42:42 +00:00
DataFormatters [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
Expression Have DWARFUnit store a *reference* to SymbolFileDWARF 2019-06-14 13:01:16 +00:00
Host Silence 'warning: extra ‘;’ [-Wpedantic]' with GCC 7.3 2019-06-01 21:47:44 +00:00
Initialization [Reproducers] Include lldb version in the reproducer root 2019-06-13 04:35:22 +00:00
Interpreter Fix a crash in option parsing. 2019-06-11 21:14:02 +00:00
Plugins Implement GetSharedLibraryInfoAddress 2019-06-14 21:15:08 +00:00
Symbol Remove stale comment and disabled code (NFC) 2019-06-14 18:12:55 +00:00
Target [LanguageRuntime] Simplify CreateExceptionSearchFilter in derived classes 2019-06-11 22:52:08 +00:00
Utility [Reproducers] Remove call to lldb_private::GetVersion() 2019-06-13 05:14:25 +00:00
CMakeLists.txt [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00
lldb.cpp [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00