Skip to content

[6.0][Caching] Teach libSwiftScan to replay all diagnostics kinds #74819

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

cachemeifyoucan
Copy link
Contributor

Explanation: Teach swift caching replay API to replay all diagnostics output kind, including parseable output and serialized diagnostics.
Scope: This allows build system to replay all diagnostics from scanner API in process.
Issue: rdar://129015959
Original PR: #74128
Reviewer: @artemcm
Risk: Low. Swift caching only change.
Test: Unit Tests

Extract the logics for emitting diagnostics, especially the parseable
output message, from FrontendTools so it is easier to reason.

(cherry picked from commit e239ee8)
Add support for serialized diagnostics, parseable output, and other
kinds of output from diagnostics engine to the libSwiftScan
replayCompilation API.

rdar://129015959
(cherry picked from commit 1912d0b)
@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner June 28, 2024 17:07
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan cachemeifyoucan merged commit 6dea6b7 into swiftlang:release/6.0 Jun 28, 2024
5 checks passed
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