Skip to content

Conversation

@rupprecht
Copy link
Collaborator

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.

Copy link
Contributor

@lhames lhames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @rupprecht!

@googlewalt googlewalt merged commit f58aa0e into llvm:main Oct 25, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants