diff options
author | Jim Ingham <jingham@apple.com> | 2020-10-02 12:43:24 -0700 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2020-10-05 15:44:28 -0700 |
commit | be66987e2047636d9ed9d2a4d88b762d59ae88f2 (patch) | |
tree | 2b552456df99fe1dd3fd23459c0ee235f79c60c3 /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | a4b842e29411da2d08fed0e99918a7cf089bb84d (diff) | |
download | llvm-be66987e2047636d9ed9d2a4d88b762d59ae88f2.zip llvm-be66987e2047636d9ed9d2a4d88b762d59ae88f2.tar.gz llvm-be66987e2047636d9ed9d2a4d88b762d59ae88f2.tar.bz2 |
Fix raciness in the StopHook check for "has the target run".
This was looking at the privateState, but it's possible that
the actual process has started up and then stopped again by the
time we get to the check, which would lead us to get out of running
the stop hooks too early.
Instead we need to track the intention of the stop hooks directly.
Differential Revision: https://reviews.llvm.org/D88753
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
0 files changed, 0 insertions, 0 deletions