diff options
author | Pavel Labath <pavel@labath.sk> | 2020-04-23 16:27:01 +0200 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2020-04-23 16:36:21 +0200 |
commit | 9321255b8825d9165b2884204348a353af36d212 (patch) | |
tree | 243ac01b8e780d391b8edcc902da0a33d835192a /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 89cb5d558895706e053bc3af972aa5b15aa82863 (diff) | |
download | llvm-9321255b8825d9165b2884204348a353af36d212.zip llvm-9321255b8825d9165b2884204348a353af36d212.tar.gz llvm-9321255b8825d9165b2884204348a353af36d212.tar.bz2 |
[lldb/Core] Avoid more Communication::Disconnect races
Calling Disconnect while the read thread is running is racy because the
thread can also call Disconnect. This is a follow-up to b424b0bf, which
reorders other occurences of Disconnect/StopReadThread I can find, and also
adds an assertion to guard against new occurences being introduced.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions