[lld] [lld][WebAssembly] Return 0 for synthetic function offsets (PR #96134)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 00:33:08 PDT 2024


================
@@ -0,0 +1,31 @@
+target triple = "wasm32-unknown-emscripten"
+
+define void @foo(i32 %a, i32 %b) !dbg !6 {
----------------
aheejin wrote:

Not sure why the current non-weak functions don't error out, but changed the test function linkages to be `weak`, which should not error out.

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


More information about the llvm-commits mailing list