Skip to content

Use the same alignment for writing and reading .swift_ast section contents #28576

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
Dec 9, 2019

Conversation

adrian-prantl
Copy link
Contributor

This is a backport of #28574 to the swift-5.1 branch.

https://bugs.swift.org/browse/SR-7932
rdar://problem/57110020

…ents.

This fixes a bug that made it impossible to read any subsequent Swift modules
out of a .swift_ast section a previous section had a size divisible by 4.

rdar://problem/57110020
@adrian-prantl adrian-prantl requested a review from a team as a code owner December 4, 2019 23:19
@adrian-prantl
Copy link
Contributor Author

@swift-ci test

@weissi
Copy link
Contributor

weissi commented Dec 6, 2019

Thanks so much! That LGTM but we need @apple/swift5-branch-managers to merge this. CC @kevints too

@fredriss fredriss merged commit 4a1b378 into swiftlang:swift-5.1-branch Dec 9, 2019
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