[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:29:32 PDT 2024


================
@@ -0,0 +1,31 @@
+target triple = "wasm32-unknown-emscripten"
+
+define void @foo(i32 %a) !dbg !6 {
+  ret void
+}
+
+define void @test0() !dbg !10 {
+entry:
----------------
sbc100 wrote:

Why does this function have `entry:` but not the one above?

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


More information about the llvm-commits mailing list