Skip to content

Conversation

@eeckstein
Copy link
Contributor

If there are multiple retroactive conformances in the mangling tree, they are put under a TypeList node.
This case was not handled by the re-mangler.
The crash shows up in an assert-build of the compiler, because the re-mangler is used for mangling verification.

rdar://problem/68467435

If there are multiple retroactive conformances in the mangling tree, they are put under a TypeList node.
This case was not handled by the re-mangler.
The crash shows up in an assert-build of the compiler, because the re-mangler is used for mangling verification.

rdar://problem/68467435
@eeckstein eeckstein requested a review from rjmccall September 11, 2020 14:10
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@slavapestov
Copy link
Contributor

Can you reduce a Swift test case that mangles such a conformance in IRGen?

@eeckstein
Copy link
Contributor Author

@slavapestov I didn't try. But it's not really needed for a regression test for this bug, because the problem was in the re-mangler.

Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for the fix @eeckstein 🙏

@eeckstein eeckstein merged commit 10de482 into swiftlang:master Sep 16, 2020
@eeckstein eeckstein deleted the fix-remangler branch September 16, 2020 09:05
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