Skip to content

Add assertions to prevent truncation when using llvm::endian::Writer #17266

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
Jun 16, 2018

Conversation

jrose-apple
Copy link
Contributor

Also, stop serializing a few constant values, saving a tiny bit of space in swiftmodule files.

A less critical follow-up to #17265.

Also, stop serializing a few constant values, saving a tiny bit of
space in swiftmodule files.
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@jrose-apple
Copy link
Contributor Author

I'm working on an LLVM patch to catch this too for all uses of the type, but I don't know if they'll want to take it.

@jrose-apple jrose-apple merged commit 570ed72 into swiftlang:master Jun 16, 2018
@jrose-apple jrose-apple deleted the swimming-truncs branch June 16, 2018 02:26
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