Lines Matching full:leader
215 // walk the object file's symbol table, once we visit either a leader symbol or
216 // an associative section definition together with the parent comdat's leader,
305 // relocations, in .rdata, leader symbol name matches the MSVC name mangling
371 // Use the suffix from the .text$<func> instead of the leader symbol
373 // cases where the leader is a weak symbol named .weak.func.default*).
448 // 1) section definition symbol for a comdat leader;
469 " without leader and unassociated, discarding");
505 DefinedRegular *leader,
509 // There's already an existing comdat for this symbol: `Leader`.
514 SectionChunk *leaderChunk = leader->getChunk();
517 assert(leader->data && "Comdat leader without SectionChunk?");
518 if (isa<BitcodeFile>(leader->file)) {
519 // If the leader is only a LTO symbol, we don't know e.g. its final size
553 log(("conflicting comdat type for " + toString(ctx, *leader) + ": " +
554 Twine((int)leaderSelection) + " in " + toString(leader->getFile()) +
557 ctx.symtab.reportDuplicate(leader, this);
563 ctx.symtab.reportDuplicate(leader, this);
573 ctx.symtab.reportDuplicate(leader, this);
580 ctx.symtab.reportDuplicate(leader, this);
591 ctx.symtab.reportDuplicate(leader, this, &newChunk, sym.getValue());
612 replaceSymbol<DefinedRegular>(leader, this, name, /*IsCOMDAT*/ true,
669 // "comdat leader".
674 // Handle comdat leader.
677 DefinedRegular *leader;
680 std::tie(leader, prevailing) =
683 leader = make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false,
697 if (leader->isCOMDAT)
698 handleComdatSelection(sym, selection, prevailing, leader, def);
705 c->sym = cast<DefinedRegular>(leader);
707 cast<DefinedRegular>(leader)->data = &c->repl;
711 return leader;
714 // Prepare to handle the comdat leader symbol by setting the section's