[PATCH] D16004: Increase use of svr4 packets to improve performance on POSIX remotes

Francis Ricci via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 11:47:15 PST 2016


fjricci created this revision.
fjricci added reviewers: tfiala, ADodds.
fjricci added subscribers: llvm-commits, sas.
Herald added subscribers: srhines, danalbert, tberghammer.

Allows the remote to enumerate the link map when adding and removing
shared libraries, so that lldb doesn't need to read it manually from
the remote's memory.

This provides very large speedups (on the order of 50%) in total
startup time when using the ds2 remote on android or Tizen devices.

http://reviews.llvm.org/D16004

Files:
  include/lldb/Core/LoadedModuleInfoList.h
  include/lldb/Target/Process.h
  source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
  source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16004.44352.patch
Type: text/x-patch
Size: 18224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160108/7db0625c/attachment-0001.bin>


More information about the llvm-commits mailing list