[lld] [lld][WebAssembly] Do not relocate ABSOLUTE symbols (PR #153763)
YAMAMOTO Takashi via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 18 20:50:08 PDT 2025
================
@@ -41,6 +41,11 @@ foo:
drop
global.get __stack_pointer
+ i32.load 0
+ call_indirect () -> (i32)
+ drop
----------------
yamt wrote:
just copy-and-pasted from the nearby code.
i thought it were to avoid being optimized out. but now i'm not sure.
maybe just drop is ok.
https://github.com/llvm/llvm-project/pull/153763
More information about the llvm-commits
mailing list