[lld] [lld][WebAssembly] Fix stub library deps causing LTO archive members to be required post-LTO (PR #101894)
Alon Zakai via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 14:52:20 PDT 2024
================
@@ -949,6 +949,17 @@ static void processStubLibrariesPreLTO() {
auto* needed = symtab->find(dep);
if (needed ) {
needed->isUsedInRegularObj = true;
+ // Like with handleLibcall we have extract any LTO archive members
----------------
kripken wrote:
```suggestion
// Like with handleLibcall we have to extract any LTO archive members
```
https://github.com/llvm/llvm-project/pull/101894
More information about the llvm-commits
mailing list