Skip to content

IRGen: Don't emit reflection metadata for builtin types unless we're … [3.0] #5562

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

slavapestov
Copy link
Contributor

  • Description: Fixes an issue that was coming up in release builds with optimization enabled.

  • Scope of the issue: Affects anyone building Swift projects with reflection enabled (which is the default).

  • Risk: Low.

  • Tested: No automated test, but user project that exhibited the issue now builds.

  • Reviewed by: @bitjammer

  • Bug: rdar://problem/28924516

…building the standard library

I couldn't reduce a test case, but it seems to come up with optimizations
enabled. We should have already emitted metadata for everything when we
built the stdlib, no need to do it again.

Fixes <rdar://problem/28924516>.
@slavapestov
Copy link
Contributor Author

@swift-ci Please test macOS

@slavapestov
Copy link
Contributor Author

@bitjammer Can you please review?

@bitjammer
Copy link
Contributor

LG.

@slavapestov slavapestov changed the title IRGen: Don't emit reflection metadata for builtin types unless we're … IRGen: Don't emit reflection metadata for builtin types unless we're … [3.0] Oct 31, 2016
@ematejska ematejska merged commit 25b4dd8 into swiftlang:swift-3.0-branch Oct 31, 2016
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