{"push_id":704636468,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"cbebd0d43e87b70d9f136e1b84b2781841dcb38a","before":"6a285a912d9a80afc7fad332aad15ad08ecbe5d7","commits":[{"sha":"cbebd0d43e87b70d9f136e1b84b2781841dcb38a","author":{"email":"145cd9ce43438a13beb2c4f51a87276bf83881e7@apple.com","name":"Greg Clayton"},"message":"Implement the \"qSymbol\" packet in order to be able to read queue information in debugserver and return the info in the stop reply packets.\n\nA \"qSymbol::\" is sent when shared libraries have been loaded by hooking into the Process::ModulesDidLoad() function from within ProcessGDBRemote. This function was made virtual so that the ProcessGDBRemote version is called, which then first calls the Process::ModulesDidLoad(), and then it queries for any symbol lookups that the remote GDB server might want to do.\n\nThis allows debugserver to request the \"dispatch_queue_offsets\" symbol so that it can read the queue name, queue kind and queue serial number and include this data as part of the stop reply packet. Previously each thread would have to do 3 memory reads in order to read the queue name.\n\nThis is part of reducing the number of packets that are sent between LLDB and the remote GDB server.\n\n<rdar://problem/21494354>","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project-submodule/commits/cbebd0d43e87b70d9f136e1b84b2781841dcb38a"}]}