diff options
| author | Jordan Rupprecht <rupprecht@google.com> | 2025-10-25 06:49:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-25 07:49:02 -0400 |
| commit | f58aa0ec8b3523f3bdaa73964b809d6d54c42768 (patch) | |
| tree | 5b3eeed559766c8f4d37e596b82762a4dc4ff073 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | b0658b1151a7dce63e7bc29b69037462c07c355e (diff) | |
| download | llvm-f58aa0ec8b3523f3bdaa73964b809d6d54c42768.zip llvm-f58aa0ec8b3523f3bdaa73964b809d6d54c42768.tar.gz llvm-f58aa0ec8b3523f3bdaa73964b809d6d54c42768.tar.bz2 | |
[ORC] Fix race when checking isComplete (#165063)
After #164340 there is a tsan race on `OutstandingSymbolsCount` when
decrementing it in `notifySymbolMetRequiredState` vs reading it in
`isComplete()`. Fix this by having `IL_emit` filter out non-completed
queries when it has the lock to do so, and that way we avoid needing to
call `isComplete()` later.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
