Skip to content

IRGen: Force emission of lazy witness table when conformance descriptor is referenced [5.0] #20761

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

Otherwise with the new resilient witness table emission pattern, we might miss
conformances for refined protocols, since the witness table itself is never
referenced, only the conformance descriptor is.

Fixes rdar://problem/46133018.

…or is referenced

Otherwise with the new resilient witness table emission pattern, we might miss
conformances for refined protocols, since the witness table itself is never
referenced, only the conformance descriptor is.

Fixes <rdar://problem/46133018>.
@slavapestov slavapestov requested a review from a team as a code owner November 26, 2018 18:13
@slavapestov slavapestov changed the title IRGen: Force emission of lazy witness table when conformance descriptor is referenced IRGen: Force emission of lazy witness table when conformance descriptor is referenced [5.0] Nov 26, 2018
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@AnnaZaks
Copy link
Contributor

As per Slava, @DougGregor has already reviewed this.

@slavapestov
Copy link
Contributor Author

@AnnaZaks I think you actually have to click the 'review' button and approve it

Copy link
Contributor

@AnnaZaks AnnaZaks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an important bug fix.

@slavapestov
Copy link
Contributor Author

Thanks! Looks like you'll have to actually merge it too, it still says "Merging blocked".

@AnnaZaks AnnaZaks merged commit 252a204 into swiftlang:swift-5.0-branch Nov 26, 2018
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