[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 15:44:51 PST 2024


================
@@ -495,26 +495,21 @@ class UndefinedTag : public TagSymbol {
 // and the lazy. We represent that with a lazy symbol with a weak binding. This
 // means that code looking for undefined symbols normally also has to take lazy
 // symbols into consideration.
-class LazySymbol : public Symbol {
+class LazyObject : public Symbol {
----------------
sbc100 wrote:

Oh.. I see what happened.  We used to have `LazyArchive` and `LazyObject` (two different kinds of lazy symbols) from http://reviews.llvm.org/D18814, but they were unified so now we are just left with `LazyObject`.  

I will instead propose we move ELF to `LazySymbol` which is more consistent with the other symbol types and more descriptive (IMHO).

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


More information about the llvm-commits mailing list