diff options
author | Alex Langford <alangford@apple.com> | 2023-02-17 17:27:14 -0800 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-02-23 11:22:22 -0800 |
commit | 97b579d3140476cd32d94a6e052f0908e2c21228 (patch) | |
tree | 0b45f535e2db63b20b249d6f5060e6ca47e4af3a /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 4d0365101f98061dbaf409c0f390778ef66672e7 (diff) | |
download | llvm-97b579d3140476cd32d94a6e052f0908e2c21228.zip llvm-97b579d3140476cd32d94a6e052f0908e2c21228.tar.gz llvm-97b579d3140476cd32d94a6e052f0908e2c21228.tar.bz2 |
[debugserver] Add one additional sleep before attaching after waiting
It's possible for debugserver to attach to a process during the handoff
between /usr/lib/dyld and the dyld in the shared cache. When that
happens, we may end up in a state where there is no dyld in the process
and our debugging session is doomed. To make that scenario a lot less
likely, we can insert a sleep right before attaching after waiting to
find the right pid.
rdar://105513180
Differential Revision: https://reviews.llvm.org/D144311
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions