hanchenye-llvm-project/lldb/docs
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
..
structured_data Add StructuredData plugin type; showcase with new DarwinLog feature 2016-08-19 04:21:48 +00:00
testsuite Revert r273524, it may have been the cause of a linux testbot failure 2016-06-23 04:24:16 +00:00
CMakeLists.txt
building-with-debug-llvm.txt
code-signing.txt
doxygen.cfg.in
doxygen.footer
doxygen.header
doxygen.intro
lldb-for-gdb-users.txt test commit 2016-04-25 19:02:05 +00:00
lldb-gdb-remote.txt gdb-remote: Add jModulesInfo packet 2016-09-08 10:07:04 +00:00
lldb.1 Include -c, -core in the lldb(1) man page 2015-12-16 15:37:21 +00:00