Skip to content

[wasm] Emit some wrappers with linkonce linkage.#20782

Merged
vargaz merged 2 commits intomono:masterfrom
vargaz:linkonce
Jan 26, 2021
Merged

[wasm] Emit some wrappers with linkonce linkage.#20782
vargaz merged 2 commits intomono:masterfrom
vargaz:linkonce

Conversation

@vargaz
Copy link
Contributor

@vargaz vargaz commented Jan 24, 2021

No description provided.

Handle two cases:
* Method ranges interleaved.
* The same method occuring in multiple AOT images which can happen with linkonce linking.
Linkonce linkage allows the native linker to remove duplicate wrappers.
This is preferable to the current dedup pass, since it doesn't require
additional build support and has less complexity. The downside is that
the additional metadata about these wrappers is still emitted.
@vargaz
Copy link
Contributor Author

vargaz commented Jan 25, 2021

@monojenkins build failed

@vargaz vargaz merged commit 9826fc3 into mono:master Jan 26, 2021
@vargaz vargaz deleted the linkonce branch January 26, 2021 09:41
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