Lines Matching defs:leader

277 // walk the object file's symbol table, once we visit either a leader symbol or
278 // an associative section definition together with the parent comdat's leader,
367 // relocations, in .rdata, leader symbol name matches the MSVC name mangling
434 // Use the suffix from the .text$<func> instead of the leader symbol
436 // cases where the leader is a weak symbol named .weak.func.default*).
544 // 1) section definition symbol for a comdat leader;
565 << " without leader and unassociated, discarding";
618 DefinedRegular *leader,
627 SectionChunk *leaderChunk = leader->getChunk();
631 assert(leader->data && "Comdat leader without SectionChunk?");
632 if (isa<BitcodeFile>(leader->file)) {
633 // If the leader is only a LTO symbol, we don't know e.g. its final size
667 Log(ctx) << "conflicting comdat type for " << leader << ": "
668 << (int)leaderSelection << " in " << leader->getFile() << " and "
670 symtab.reportDuplicate(leader, this);
676 symtab.reportDuplicate(leader, this);
686 symtab.reportDuplicate(leader, this);
693 symtab.reportDuplicate(leader, this);
704 symtab.reportDuplicate(leader, this, &newChunk, sym.getValue());
725 replaceSymbol<DefinedRegular>(leader, this, name, /*IsCOMDAT*/ true,
813 // "comdat leader".
818 // Handle comdat leader.
821 DefinedRegular *leader;
824 std::tie(leader, prevailing) =
827 leader = make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false,
842 if (leader->isCOMDAT)
843 handleComdatSelection(sym, selection, prevailing, leader, def);
850 c->sym = cast<DefinedRegular>(leader);
852 cast<DefinedRegular>(leader)->data = &c->repl;
856 return leader;
859 // Prepare to handle the comdat leader symbol by setting the section's