Skip to content
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

[WebAssembly] The .reloc directive is not implemented #100733

Open
SingleAccretion opened this issue Jul 26, 2024 · 1 comment
Open

[WebAssembly] The .reloc directive is not implemented #100733

SingleAccretion opened this issue Jul 26, 2024 · 1 comment

Comments

@SingleAccretion
Copy link
Contributor

Reproduction:

; reloc.S
  .data
  .reloc ., R_WASM_MEMORY_ADDR_I32, some_symbol
> clang -c reloc.S
> error: unknown relocation name

This is due to the missing implementation of getFixupKind (and possibly some other pieces).

@llvmbot
Copy link
Member

llvmbot commented Jul 26, 2024

@llvm/issue-subscribers-backend-webassembly

Author: None (SingleAccretion)

Reproduction: ```asm ; reloc.S .data .reloc ., R_WASM_MEMORY_ADDR_I32, some_symbol ``` ``` > clang -c reloc.S > error: unknown relocation name ``` This is due to the missing implementation of [`getFixupKind`](https://github.com/llvm/llvm-project/blob/67ad23fe17a516b4b66d8137f77ab0ba3b6fc95b/llvm/lib/MC/MCObjectStreamer.cpp#L694-L697) (and possibly some other pieces).

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