reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
286 isec->name + " is too large to patch");
tools/lld/ELF/Arch/PPC64.cpp 165 if (!defSym || !defSym->isSection() || defSym->section->name != ".toc")
tools/lld/ELF/DWARF.cpp34 StringSwitch<LLDDWARFSection *>(sec->name) 49 if (sec->name == ".debug_abbrev") 51 else if (sec->name == ".debug_str") 53 else if (sec->name == ".debug_line_str")tools/lld/ELF/Driver.cpp
1871 (s->name.startswith(".debug") || s->name.startswith(".zdebug")); 1871 (s->name.startswith(".debug") || s->name.startswith(".zdebug"));tools/lld/ELF/ICF.cpp
167 if ((s->flags & SHF_WRITE) && s->name != ".data.rel.ro" && 168 !s->name.startswith(".data.rel.ro.")) 184 if (s->name == ".init" || s->name == ".fini") 184 if (s->name == ".init" || s->name == ".fini") 190 if (isValidCIdentifier(s->name))tools/lld/ELF/InputFiles.cpp
608 error("a section " + isec->name + 786 sec->data(), sec->name);tools/lld/ELF/InputSection.cpp
43 return (toString(sec->file) + ":(" + sec->name + ")").str(); 216 if (name.startswith(".zdebug")) { 233 name = saver.save("." + name.substr(2)); 233 name = saver.save("." + name.substr(2)); 296 std::string secAndOffset = (name + "+0x" + utohexstr(offset)).str(); 354 return (filename + ":(" + name + "+0x" + utohexstr(off) + ")" + archive) 444 if (!sec->name.startswith(".debug") && 445 !sec->name.startswith(".zdebug") && sec->name != ".eh_frame" && 445 !sec->name.startswith(".zdebug") && sec->name != ".eh_frame" && 446 sec->name != ".gcc_except_table" && sec->name != ".toc") { 446 sec->name != ".gcc_except_table" && sec->name != ".toc") {tools/lld/ELF/LinkerScript.cpp
115 ctx->outSec->name); 119 ctx->outSec->name); 131 ctx->outSec->name); 260 insert(insertBeforeCommands[os->name]); 262 insert(insertAfterCommands[os->name]); 338 if (p.sectionPat.match(s->name)) 365 return a->name < b->name; 365 return a->name < b->name; 368 return getPriority(a->name) < getPriority(b->name); 368 return getPriority(a->name) < getPriority(b->name); 432 !pat.sectionPat.match(sec->name)) 446 error("discarding " + s->name + " section is not allowed"); 486 if (sec->name == "/DISCARD/") { 557 if (sec->name == name) 792 error("no memory region specified for section '" + sec->name + "'"); 823 ctx->memRegion->name, sec->name); 876 if (sec.name == "/DISCARD/")tools/lld/ELF/MapFile.cpp
136 os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x" 176 os << osec->name << '\n';tools/lld/ELF/MarkLive.cpp
172 StringRef s = sec->name; 262 } else if (isValidCIdentifier(sec->name)) { 263 cNamedSections[saver.save("__start_" + sec->name)].push_back(sec); 264 cNamedSections[saver.save("__stop_" + sec->name)].push_back(sec); 307 if (!sec->isLive() || !isValidCIdentifier(sec->name)) 309 if (symtab->find(("__start_" + sec->name).str()) || 310 symtab->find(("__stop_" + sec->name).str()))tools/lld/ELF/OutputSections.cpp
119 error("incompatible section flags for " + name + "\n>>> " + toString(isec) + 120 ": 0x" + utohexstr(isec->flags) + "\n>>> output section " + name + 125 error("section type mismatch for " + isec->name + "\n>>> " + 128 "\n>>> output section " + name + ": " + 197 createMergeSynthetic(name, ms->type, ms->flags, ms->alignment); 262 !name.startswith(".debug_")) 433 StringRef x = a->name; 434 StringRef y = b->name; 480 sort([](InputSectionBase *s) { return getPriority(s->name); });tools/lld/ELF/Relocations.cpp
862 cast<Undefined>(sym).discardedSecIdx != 0 && sec.name == ".toc") 1400 (config->emachine == EM_PPC64 && sec.name == ".toc"))tools/lld/ELF/ScriptParser.cpp
1117 error(location + ": undefined section " + cmd->name);
tools/lld/ELF/SyntheticSections.cpp1087 name = ".plt"; 1090 name = ".plt"; 1269 in.relaIplt->name == in.relaPlt->name) 1269 in.relaIplt->name == in.relaPlt->name) 2547 if (isec->name == ".debug_info") 2711 if (s->name == ".debug_gnu_pubnames" || s->name == ".debug_gnu_pubtypes") 2711 if (s->name == ".debug_gnu_pubnames" || s->name == ".debug_gnu_pubtypes")tools/lld/ELF/SyntheticSections.h
76 return SyntheticSection::classof(d) && d->name == ".eh_frame";
tools/lld/ELF/Target.h 197 if (errPlace.isec && errPlace.isec->name.startswith(".debug"))
tools/lld/ELF/Writer.cpp96 return s->name; 105 return saver.save(".rela" + out->name); 106 return saver.save(".rel" + out->name); 119 if (isSectionPrefix(v, s->name)) 126 if (isSectionPrefix(v, s->name)) 131 if (s->name == "COMMON") 134 return s->name; 306 if (sec->name == name && sec->partition == partition) 376 part.elfHeader->name = part.name; 514 config->androidPackDynRelocs ? in.relaPlt->name : relaDynName, 784 if (sec->name.equals(".toc")) 797 if (sec->name == ".dynamic") 804 StringRef s = sec->name; 846 if (config->sectionStartMap.count(sec->name)) 865 if (sec->name == ".interp") 937 StringRef name = sec->name; 960 if (sec->name != ".got") 975 return config->sectionStartMap.lookup(a->name) < 976 config->sectionStartMap.lookup(b->name); 1326 StringRef name = sec->name; 1826 auto i = config->sectionStartMap.find(sec->name); 1839 sec->shName = in.shStrTab->addString(sec->name); 1961 error("cannot place " + toString(isec) + " into " + toString(os->name) + 2013 StringRef s = sec->name; 2102 error("section: " + sec->name + " is not contiguous with other relro" + 2375 error("unable to place section " + sec->name + " at file offset " + 2446 errorOrWarn("section " + a.sec->name + " " + name + 2447 " range overlaps with " + b.sec->name + "\n>>> " + a.sec->name + 2447 " range overlaps with " + b.sec->name + "\n>>> " + a.sec->name + 2449 b.sec->name + " range is " + 2464 errorOrWarn("section " + os->name + " at 0x" + utohexstr(os->addr) +