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

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 09:00:03 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
----------------
dschuff wrote:

This isn't true yet, but I guess we can let it slide since the plan is to make it true :)

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


More information about the llvm-commits mailing list