llvm-project/lldb/source/Plugins/DynamicLoader
Pavel Labath 2f1fbaebe2 gdb-remote: Add jModulesInfo packet
Summary:
This adds the jModulesInfo packet, which is the equivalent of qModulesInfo, but it enables us to
query multiple modules at once. This makes a significant speed improvement in case the
application has many (over a hundred) modules, and the communication link has a non-negligible
latency. This functionality is accessed by ProcessGdbRemote::PrefetchModuleSpecs(), which does
the caching. GetModuleSpecs() is modified to first consult the cache before asking the remote
stub. PrefetchModuleSpecs is currently only called from POSIX-DYLD dynamic loader plugin, after
it reads the list of modules from the inferior memory, but other uses are possible.

This decreases the attach time to an android application by about 40%.

Reviewers: clayborg

Subscribers: tberghammer, lldb-commits, danalbert

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

llvm-svn: 280919
2016-09-08 10:07:04 +00:00
..
Darwin-Kernel *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Hexagon-DYLD *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MacOSX-DYLD *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
POSIX-DYLD gdb-remote: Add jModulesInfo packet 2016-09-08 10:07:04 +00:00
Static *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Windows-DYLD *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Move WindowsDYLD to the Plugins/DynamicLoader directory. 2015-07-08 18:07:13 +00:00