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

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 10:21:23 PDT 2024


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

I'm curious how your project was able to generate `MBREL` or `TBREL` relocations types against undefined symbols.  I don't think LLVM should ever do that.. I would expect it would require hand-written assembly.   If you are seeing those in LLVM-generated code then that could point to an LLVM codegen bug.

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


More information about the llvm-commits mailing list