Skip to content

Conversation

@eeckstein
Copy link
Contributor

When de-serializing a function and this function allocates a class, the methods of the de-serialized vtable must be handled, too.

Fixes an IRGen crash
rdar://152311945

@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks!

…vtable methods

When de-serializing a function and this function allocates a class, the methods of the de-serialized vtable must be handled, too.

Fixes an IRGen crash
rdar://152311945
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor

@swift-ci build toolchain

@eeckstein eeckstein merged commit 4777f27 into swiftlang:main Jun 2, 2025
5 of 6 checks passed
@eeckstein eeckstein deleted the fix-mpo branch June 2, 2025 18:06
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