Skip to content

Conversation

@cachemeifyoucan
Copy link
Contributor

  • Explanation: MCCAS wasn't setup correctly when using parallel WMO. Make sure the CAS ObjectStore and ResultCallbacks are passed to LLVM backend when using parallel WMO.
  • Scope: This affects compilation caching and using MCCAS backend only. Fixes a crash that previously happens.
  • Issues: rdar://164409895
  • Original PRs: [Caching] Fix multi-threaded WMO with MCCAS #85499
  • Risk: Low.
  • Testing: Unit test added.
  • Reviewers: @artemcm

MCCAS wasn't setup correctly when using parallel WMO. Make sure the
CAS ObjectStore and ResultCallbacks are passed to LLVM backend when
using parallel WMO.

rdar://164409895
(cherry picked from commit b1d669b)
@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner November 18, 2025 17:28
@cachemeifyoucan cachemeifyoucan changed the title [Caching] Fix multi-threaded WMO with MCCAS [6.3][Caching] Fix multi-threaded WMO with MCCAS Nov 18, 2025
@cachemeifyoucan
Copy link
Contributor Author

swiftlang/llvm-project#11849

@swift-ci please test

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test windows platform

@cachemeifyoucan
Copy link
Contributor Author

swiftlang/llvm-project#11849

@swift-ci please test windows platform

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.

2 participants