[lld] [lld][WebAssembly] Fix relocation of Wasm table index with GOT access (PR #104043)

Luc Blaeser via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 06:18:34 PDT 2024


================
@@ -0,0 +1,27 @@
+# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
----------------
luc-blaeser wrote:

I tried to prepare LLVM IR which reproduces it: https://github.com/luc-blaeser/wasm-ld-repro
Originally, I saw the issue when compiling Rust code, and generating a shared Wasm library (https://github.com/luc-blaeser/wasm-ld-repro/blob/main/original_issue.md)
It involves DSO-local.

https://github.com/llvm/llvm-project/pull/104043


More information about the llvm-commits mailing list