diff options
author | Jim Ingham <jingham@apple.com> | 2014-03-28 20:00:07 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-03-28 20:00:07 +0000 |
commit | 6c8824d216c808f211be8ef4014ee0d750cfe795 (patch) | |
tree | 0ddaebc6a0e1c4e654c51050f45d796e5d109a50 /clang/lib/Serialization/GlobalModuleIndex.cpp | |
parent | 950667a331d2a9aab35a9657e1eca2160ef77853 (diff) | |
download | llvm-6c8824d216c808f211be8ef4014ee0d750cfe795.zip llvm-6c8824d216c808f211be8ef4014ee0d750cfe795.tar.gz llvm-6c8824d216c808f211be8ef4014ee0d750cfe795.tar.bz2 |
Wait for the reply from the 'D' detach packet before tearing down the debugger. Avoids a race
condition where we could end up killing debugserver (and thus the target) before it had a chance
to detach.
Also fix debugserver to send the OK AFTER it detaches to avoid the same race condition.
<rdar://problem/16202713>
llvm-svn: 205043
Diffstat (limited to 'clang/lib/Serialization/GlobalModuleIndex.cpp')
0 files changed, 0 insertions, 0 deletions