hanchenye-llvm-project/lldb/tools
Jason Molenda 77f8935218 Changes to lldb and debugserver to reduce extraneous memory reads
at each public stop to improve performance a bit.  Most of the 
information lldb needed was already in the jThreadsInfo response;
complete that information and catch a few cases where we could still
fall back to getting the information via discrete memory reads.


debugserver adds 'associated_with_dispatch_queue' and 'dispatch_queue_t
keys to the jThreadsInfo response for all the threads.  lldb needs the
dispatch_queue_t value.  And associated_with_dispatch_queue helps to
identify which threads definitively don't have any queue information so
lldb doesn't try to do memory reads to get that information just because
it was absent in the jThreadsInfo response.

Remove the queue information from the questionmark (T) packet.  We'll
get the information for all threads via the jThreadsInfo response -
sending the information for the stopping thread (on all the private
stops, plus the less frequent public stop) was unnecessary information
being sent over the wire.

SystemRuntimeMacOSX will try to get information about queues by asking
the Threads for them, instead of reading memory.  

ProcessGDBRemote changes to recognize the new keys being sent in the
jThreadsInfo response.  Changes to ThreadGDBRemote to track the new
information.  Also, when a thread is marked as definitively not 
associated with a libdispatch queue, don't fall back to the system
runtime to try memory reads to find the queue name / kind / ID etc.


<rdar://problem/23309359> 

llvm-svn: 257453
2016-01-12 07:09:16 +00:00
..
argdumper Rename argdumper to lldb-argdumper 2015-10-29 05:07:12 +00:00
compact-unwind Fix a variety of typos. 2015-06-18 05:27:05 +00:00
darwin-debug Fix darwin-debug installation in cmake (OS X) 2015-02-06 18:13:10 +00:00
darwin-threads Add support for one API used to detect if a process 2015-11-05 23:04:57 +00:00
debugserver Changes to lldb and debugserver to reduce extraneous memory reads 2016-01-12 07:09:16 +00:00
driver Wrap Notes in --help output to 80 columns 2015-12-16 15:49:38 +00:00
install-headers
lldb-mi Apply missed changes from svn r256863 "Add support for "source info" and use it to fix MI's -symbol-list-lines.". 2016-01-06 00:03:43 +00:00
lldb-perf Cleanup how we listen for process events by using the broadcaster class name instead of having to catch each process instance as it comes alive. 2014-08-18 21:09:50 +00:00
lldb-server Modify "platform connect" to connect to processes as well 2015-12-08 14:08:19 +00:00
CMakeLists.txt [cmake] Build lldb-server on Darwin, set dep on FreeBSD. 2015-09-17 18:35:33 +00:00
Makefile Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00