Skip to content

[pull] swiftwasm-release/5.5 from release/5.5 #3522

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 4 commits into from
Sep 14, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 13, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

eeckstein and others added 3 commits September 9, 2021 12:09
This is similar to the existing -emit-sib, except that not everything is serialized, but only functions which are marked as "serializable".
It's not sufficient to first serialize all functions and then serialize all globals, because a function can be referenced from the initializer expression of a global.
Therefore the worklist processing must include both, functions and globals.

This fixes a crash in the serializer, which is exposed through cross-module-optimization.

https://bugs.swift.org/browse/SR-15162
rdar://82827256
[5.5] Serialization: include global variables in the worklist-processing
@MaxDesiatov MaxDesiatov merged commit 8d966d3 into swiftwasm-release/5.5 Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants