[lld] [lld][WebAssembly] Return 0 for synthetic function offsets (PR #96134)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 19:55:40 PDT 2024
================
@@ -0,0 +1,31 @@
+target triple = "wasm32-unknown-emscripten"
+
+define void @foo(i32 %a, i32 %b) !dbg !6 {
----------------
sbc100 wrote:
IIUC, regardless of signature... you can't have two global definitions of foo in the same program unless one of them is weak. So I can't see why this wouldn't fail, even with matching signatures.
https://github.com/llvm/llvm-project/pull/96134
More information about the llvm-commits
mailing list