[lld] [lld][WebAssembly] Preserve LTO stub deps for bitcode symbols (PR #173235)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 16:31:09 PST 2025


================
@@ -1,7 +1,17 @@
 target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128-ni:1:10:20"
 target triple = "wasm32-unknown-unknown"
 
-define void @foo() local_unnamed_addr {
+define void @foo() {
+entry:
+  ret void
+}
+
+define void @baz() {
+entry:
+  ret void
+}
+
+define void @quux() {
----------------
sbc100 wrote:

Given that this file is called just `foo` its seems maybe odd to defined these other symbols here too?  Maybe not too bad though?

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


More information about the llvm-commits mailing list