Skip to content

[clang][deps] Fix race condition #6231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

jansvoboda11
Copy link

No description provided.

D140176 introduced new `FullDeps` API that's not thread-safe, breaking the class invariant. This was causing race condition when `clang-scan-deps` was run with multiple threads.

Reviewed By: steven_wu, akyrtzi

Differential Revision: https://reviews.llvm.org/D143428

(cherry picked from commit 152f291)
@jansvoboda11 jansvoboda11 merged commit 16bf28f into stable/20221013 Feb 7, 2023
@jansvoboda11 jansvoboda11 deleted the jan_svoboda/20221013-cherry-pick branch February 7, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant