[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
Wed Aug 21 00:16:14 PDT 2024


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

Actually, in my case, the symbols for those relocations were all defined, just not handled by the Wasm linker. The undefined case would only happen if a subset of o-files would be linked (with a permissive `UnresolvedPolicy`).

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


More information about the llvm-commits mailing list