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

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 16:24:26 PST 2025


================
@@ -1,6 +1,10 @@
 ## The function `bar` is declared in stub.so and depends on `foo` which is
 ## defined in an LTO object.  We also test the case where the LTO object is
 ## with an archive file.
+## The function `quux` is declared in stub.so and depends on `bar` which is
+## defined in an LTO object as well. In this case, `bar` is DCE'd and becomes
----------------
aheejin wrote:

Oops, I got the function names all wrong. Fixed them and rewrote the sentence: https://github.com/llvm/llvm-project/pull/173235/commits/a09e8ba785d4e32d9c230e913dbbd14e28cf184b

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


More information about the llvm-commits mailing list