reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
57 return StringRef(Sec.Name).startswith(".debug") || 58 StringRef(Sec.Name).startswith(".zdebug") || Sec.Name == ".gdb_index"; 58 StringRef(Sec.Name).startswith(".zdebug") || Sec.Name == ".gdb_index"; 62 return StringRef(Sec.Name).endswith(".dwo"); 287 if (Sec.Name == SecName) { 310 StringRef(Sec.Name).startswith(".debug"); 445 return Config.ToRemove.matches(Sec.Name); 504 if (StringRef(Sec.Name).startswith(".gnu.warning")) 525 if (Config.OnlySection.matches(Sec.Name)) 547 if (Config.KeepSection.matches(Sec.Name)) 618 const auto Iter = Config.SectionsToRename.find(Sec.Name); 621 Sec.Name = SR.NewName; 635 Sec.Name = (Config.AllocSectionsPrefix + Sec.Name).str(); 635 Sec.Name = (Config.AllocSectionsPrefix + Sec.Name).str(); 664 Sec.Name = (prefix + TargetSec->Name).str(); 664 Sec.Name = (prefix + TargetSec->Name).str(); 666 Sec.Name = 667 (prefix + Config.AllocSectionsPrefix + TargetSec->Name).str(); 675 auto I = Config.SetSectionAlignment.find(Sec.Name); 683 const auto Iter = Config.SetSectionFlags.find(Sec.Name);tools/llvm-objcopy/ELF/Object.cpp
126 error("cannot write symbol section index table '" + Sec.Name + "' "); 130 error("cannot write symbol table '" + Sec.Name + "' out to binary"); 134 error("cannot write relocation section '" + Sec.Name + "' out to binary"); 138 error("cannot write '" + Sec.Name + "' out to binary"); 142 error("cannot write '" + Sec.Name + "' out to binary"); 436 reportError(Sec.Name, std::move(E)); 443 error("cannot write compressed section '" + Sec.Name + "' "); 472 error("cannot write compressed section '" + Sec.Name + "' "); 511 reportError(Name, std::move(E)); 515 Name = ".z" + Sec.Name.substr(1); 515 Name = ".z" + Sec.Name.substr(1); 578 "Link field value " + Twine(Link) + " in section " + Name + " is invalid", 579 "Link field value " + Twine(Link) + " in section " + Name + 683 SymbolNames->Name.data(), this->Name.data()); 683 SymbolNames->Name.data(), this->Name.data()); 813 Symbols->Name.data(), this->Name.data()); 813 Symbols->Name.data(), this->Name.data()); 823 R.RelocSymbol->DefinedIn->Name.data(), 824 SecToApplyRel->Name.data(), R.Offset, 837 "Link field value " + Twine(Link) + " in section " + Name + 839 "Link field value " + Twine(Link) + " in section " + Name + 844 " in section " + Name + 936 Symbols->Name.data(), this->Name.data()); 936 Symbols->Name.data(), this->Name.data()); 956 LinkSection->Name.data(), this->Name.data()); 956 LinkSection->Name.data(), this->Name.data()); 972 Sym->Name.data(), this->Name.data(), this->Index); 993 " in section " + Name + " is invalid"); 1010 Name = ".gnu_debuglink"; 1123 StrTab.Name = ".strtab"; 1132 SymTab.Name = ".symtab"; 1152 DataSection.Name = ".data"; 1259 if (Sec.Type == SHT_LLVM_PART_EHDR && Sec.Name == *ExtractPartition) { 1328 GroupSec->Name + "'"); 1333 GroupSec->Name + "' is invalid", 1335 GroupSec->Name + "' is not a symbol table"); 1339 GroupSec->Name + "' is not a valid symbol index"); 1344 error("the content of the section " + GroupSec->Name + " is malformed"); 1354 GroupSec->Name + "' is invalid")); 1512 Sec.Name = unwrapOrError(ElfFile.getSectionName(&Shdr)); 1559 SymTab.Name = ".symtab"; 2074 Obj.SectionNames->addString(Sec.Name); 2114 Sec.NameIndex = Obj.SectionNames->findIndex(Sec.Name); 2251 "Section '%s' address range [0x%llx, 0x%llx] is not 32 bit", Sec.Name.c_str(),tools/llvm-objcopy/ELF/Object.h
492 Name = SecName.str(); 500 Name = SecName.str(); 534 (StringRef(S->Name).startswith(".zdebug")); 547 if (StringRef(Name).startswith(".zdebug")) 548 Name = "." + Name.substr(2); 548 Name = "." + Name.substr(2); 648 Name = ".symtab_shndx"; 1044 find_if(Sections, [&](const SecPtr &Sec) { return Sec->Name == Name; });