Skip to content

[Bridging PCH] Move dependency-on-bridging-PCH to -emit-bc JobAction itself. #10735

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 Jun 30, 2017

Explanation: Fix a misplaced dependency edge in bridging PCH driver logic.

Scope: Causes a "missing PCH" error in certain cases when doing an
"Archive" build in Xcode on a target that includes embedded LLVM
bitcode. The root cause was a misplaced dependency edge in the swift
driver logic, which was benign in the first iteration of bridging PCH, but
which becomes a serious error when combined with recent changes to make
bridging PCH files persist between compilations.

Radar: 32984579

Risk: Low, the change only moves a dependency edge in the driver a step
earlier, making the driver graph strictly more-conservative in the order
it runs things.

Testing: A testcase was added to the existing testsuite which exhibits the
required dependency edge. Plus usual run of testsuite.

@graydon graydon requested review from akyrtzi and jrose-apple June 30, 2017 22:53
@graydon
Copy link
Contributor Author

graydon commented Jun 30, 2017

@swift-ci please test

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.

4 participants