-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add MCCAS support to SwiftCaching.cpp #76020
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
Conversation
20f6afd
to
618272e
Compare
@swift-ci please test |
@swift-ci Please smoke test |
Change LGTM. I think we can add a test for that. You can access the replay logic inside libSwiftScan via |
To materialize the object file correctly on a cache hit when MCCAS is enabled, if lib_InternalSwiftScan.dylib is used to detect the cache hit, we need to add MCCAS support to the replay code in SwiftCaching.cpp
618272e
to
2458226
Compare
@swift-ci please smoke test |
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
@cachemeifyoucan they differ right now because swiftlang/llvm-project#9164 needs to go in first, right now on a cache miss, the object files are 0 bytes in size. |
Please test with following PR: @swift-ci Please test macOS platform |
Please test with following PR: @swift-ci Please smoke test macOS platform |
Please test with following PR: @swift-ci Please test macOS platform |
Please test with following PR: @swift-ci Please smoke test macOS platform |
To materialize the object file correctly on a cache hit when MCCAS is enabled, if lib_InternalSwiftScan.dylib is used to detect the cache hit, we need to add MCCAS support to the replay code in SwiftCaching.cpp
rdar://134426931 ([MCCAS] FIx bug with swift caching where object files are incorrect on a cache hit)