Skip to content

[Explicit Module Builds] Use new form of -fmodule-file to work around Clang issue with explicit builds and emit-PCH #843

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
Sep 21, 2021

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Sep 21, 2021

This form causes Swift's underlying Clang invocation to take different code-paths when loading pre-built PCM dependencies, which is not affected on whether the compiler is in emit-pre-built-header mode.

Workaround for rdar://83309762

…nd Clang issue with explicit builds and emit-PCH

This form causes Swift's underlying Clang invocation to take different code-paths when loading pre-built PCM dependencies, which is not affected on whether the compiler is in emit-pre-built-header mode.

Workaround for rdar://83309762
@artemcm
Copy link
Contributor Author

artemcm commented Sep 21, 2021

@swift-ci please test

@nkcsgexi
Copy link
Contributor

Glad this simple change just works!

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.

2 participants