Skip to content

[WebAssembly][Clang] _externref_t usage in global scope emits fatal error in backend #141011

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

Open
Losy001 opened this issue May 22, 2025 · 1 comment

Comments

@Losy001
Copy link
Contributor

Losy001 commented May 22, 2025

When targeting WASM, __externref_t emits a fatal error in the backend whenever it's used in global scope.

This error is reproduced here

@llvmbot llvmbot added the clang Clang issues not falling into any other category label May 22, 2025
@EugeneZelenko EugeneZelenko added backend:WebAssembly and removed clang Clang issues not falling into any other category labels May 22, 2025
@llvmbot
Copy link
Member

llvmbot commented May 22, 2025

@llvm/issue-subscribers-backend-webassembly

Author: None (Losy001)

When targeting WASM, `__externref_t` emits a fatal error in the backend whenever it's used in global scope.

This error is reproduced here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants