aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/LogicalView/LogicalElementsTest.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2025-10-25 06:49:02 -0500
committerGitHub <noreply@github.com>2025-10-25 07:49:02 -0400
commitf58aa0ec8b3523f3bdaa73964b809d6d54c42768 (patch)
tree5b3eeed559766c8f4d37e596b82762a4dc4ff073 /llvm/unittests/DebugInfo/LogicalView/LogicalElementsTest.cpp
parentb0658b1151a7dce63e7bc29b69037462c07c355e (diff)
downloadllvm-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/unittests/DebugInfo/LogicalView/LogicalElementsTest.cpp')
0 files changed, 0 insertions, 0 deletions