Skip to content

[Demangler] Fix for crash in mangleSingleChildNode. #38002

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
Jun 23, 2021

Conversation

al45tair
Copy link
Contributor

PartialApplyForwarders can apparently have no children in some cases, so avoid calling mangleSingleChildNode() if that happens in order to avoid a crash.

rdar://63678141

PartialApplyForwarders can apparently have no children in some cases,
so avoid calling mangleSingleChildNode() if that happens in order to avoid
a crash.

rdar://63678141
@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

@al45tair al45tair requested a review from eeckstein June 21, 2021 14:52
Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

LGTM!

@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test macOS platform

@al45tair al45tair merged commit 2318f03 into swiftlang:main Jun 23, 2021
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