[all-commits] [llvm/llvm-project] 87dc06: [lldb] [debugserver] Handle interrupted reads corr...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Tue Mar 12 09:03:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87dc068280aaddc98acb7865ae3df1d248f4a170
https://github.com/llvm/llvm-project/commit/87dc068280aaddc98acb7865ae3df1d248f4a170
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/tools/debugserver/source/RNBSocket.cpp
Log Message:
-----------
[lldb] [debugserver] Handle interrupted reads correctly (#84872)
The first half of this patch is a long-standing annoyance, if I attach
to debugserver with lldb while it is waiting for an lldb connection, the
syscall is interrupted and it doesn't retry, debugserver exits
immediately.
The second half is a request from another tool that is communicating
with debugserver, that we retry reads on our sockets in the same way. I
haven't dug in to the details of how they're communicating that this is
necessary, but the best I've been able to find reading the POSIX API
docs, this is fine.
rdar://117113298
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list