Skip to content

[WASM] Avoid to emit GOT for WASM #30071

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

Conversation

kateinoigakukun
Copy link
Member

WebAssembly doesn't support dynamic linking, so GOT is not necessary now.
LLVM produces virtual GOT when compiler wants to use GOT, but it takes overhead on runtime.

Discussion: https://forums.swift.org/t/wasm-support/16087/19

WebAssembly doesn't support dynamic linking, so GOT is not necessary
now. LLVM produces virtual GOT when compiler want to use GOT, but it
takes overhead on runtime.

Discussion: https://forums.swift.org/t/wasm-support/16087/19
@CodaFi
Copy link
Contributor

CodaFi commented Mar 5, 2020

Could you please add an IRGen regression test?

@MaxDesiatov MaxDesiatov changed the base branch from master to main September 24, 2020 08:53
@MaxDesiatov
Copy link
Contributor

@kateinoigakukun is this PR still relevant?

@kateinoigakukun kateinoigakukun deleted the katei/eliminate-got-for-wasm branch May 11, 2022 15:17
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