[lld] [lld][WebAssembly] Match the ELF linker in transitioning away from archive indexes. (PR #78658)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 09:33:53 PST 2024


================
@@ -486,35 +486,30 @@ class UndefinedTag : public TagSymbol {
   static bool classof(const Symbol *s) { return s->kind() == UndefinedTagKind; }
 };
 
-// LazySymbol represents a symbol that is not yet in the link, but we know where
-// to find it if needed. If the resolver finds both Undefined and Lazy for the
-// same name, it will ask the Lazy to load a file.
+// LazyObject symbols represent symbols in object files between --start-lib and
+// --end-lib options. LLD also handles traditional archives as if all the files
----------------
sbc100 wrote:

Ah yes,  I will make this into a TODO (I just copied the code from the ELF linker).

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


More information about the llvm-commits mailing list