Skip to content

[Bridging PCH] Move dependency-on-bridging-PCH to -emit-bc JobAction … #10736

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

Beta 3 branch variant of #10735

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
Copy link
Contributor Author

graydon commented Jul 1, 2017

@swift-ci please test

@graydon graydon requested a review from akyrtzi July 1, 2017 00:00
@swift-ci
Copy link
Contributor

swift-ci commented Jul 1, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - eeabbdb
Test requested by - @graydon

@graydon
Copy link
Contributor Author

graydon commented Jul 1, 2017

@swift-ci please test linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Jul 1, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - eeabbdb
Test requested by - @graydon

@graydon
Copy link
Contributor Author

graydon commented Jul 1, 2017

@swift-ci Please clean test Linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Jul 1, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - eeabbdb
Test requested by - @graydon

@graydon
Copy link
Contributor Author

graydon commented Jul 1, 2017

@swift-ci please smoke test Linux platform

@akyrtzi akyrtzi merged commit 4fd6d30 into swiftlang:swift-4.0-branch-06-23-2017 Jul 1, 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