Skip to content

[Bridging PCH] Only emit deps for CompileJobActions rdar://31056789 #8109

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

graydon
Copy link
Contributor

@graydon graydon commented Mar 15, 2017

Swift 3.1 branch variant of #8097 , original text follows:

Undo a bug (accidentally introduced in #7944 / fae468f) wherein we generate .d and .swiftdeps files for bridging PCH steps. The presence of these breaks an invariant that only CompileJobActions are supposed to have such depfiles, which in turn causes an attempted cast to go wrong. This bad cast traps in an assertions-build. In non-assertions builds it's a UMR that may cause a miscompile.

rdar://31056789

@ematejska
Copy link
Contributor

@swift-ci please test

@tkremenek
Copy link
Member

@swift-ci test

@tkremenek tkremenek merged commit cdb6738 into swiftlang:swift-3.1-branch Mar 15, 2017
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