Skip to content
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

Move LLVM Bitstream Utils from swift-driver and add a Swift/Clang Serialized Diags Reader #120

Merged
merged 2 commits into from
Sep 4, 2020

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Sep 2, 2020

The first commit in this PR copies over Bits.swift and Bitstream.swift unmodified from swift-driver. These are general utilities for reading files using the LLVM bitstream container format. The second commit is new code to support reading serialized diagnostics (.dia) files emitted by Swift and Clang. The intent is that this can be used to improve how SPM handles diagnostics emitted by the compiler during a build.

If this is merged, I'll follow up to remove the copied files in swift-driver and use the TSC versions instead.

@owenv
Copy link
Contributor Author

owenv commented Sep 2, 2020

@swift-ci please test

@aciidgh
Copy link
Contributor

aciidgh commented Sep 2, 2020

👍

@neonichu neonichu merged commit f81e902 into swiftlang:master Sep 4, 2020
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.

3 participants