reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-objcopy/ELF/Object.cpp
 1239   for (Segment &Parent : Obj.segments()) {
 1258   for (const SectionBase &Sec : Obj.sections()) {
 1278     Segment &Seg = Obj.addSegment(Data);
 1289     for (SectionBase &Sec : Obj.sections())
 1297   auto &ElfHdr = Obj.ElfHdrSegment;
 1302   auto &PrHdr = Obj.ProgramHdrSegment;
 1318   for (Segment &Child : Obj.segments())
 1329   SectionTableRef SecTable = Obj.sections();
 1383       DefSection = Obj.sections().getSection(
 1387       if (!isValidReservedSectionIndex(Sym.st_shndx, Obj.Machine)) {
 1394       DefSection = Obj.sections().getSection(
 1448       return Obj.addSection<DynamicRelocationSection>(Data);
 1450     return Obj.addSection<RelocationSection>();
 1457       return Obj.addSection<Section>(Data);
 1459     return Obj.addSection<StringTableSection>();
 1465     return Obj.addSection<Section>(Data);
 1468     return Obj.addSection<GroupSection>(Data);
 1471     return Obj.addSection<DynamicSymbolTableSection>(Data);
 1474     return Obj.addSection<DynamicSection>(Data);
 1476     auto &SymTab = Obj.addSection<SymbolTableSection>();
 1477     Obj.SymbolTable = &SymTab;
 1481     auto &ShndxSection = Obj.addSection<SectionIndexSection>();
 1482     Obj.SectionIndexTable = &ShndxSection;
 1486     return Obj.addSection<Section>(Data);
 1495       return Obj.addSection<CompressedSection>(Data, DecompressedSize,
 1499     return Obj.addSection<Section>(Data);
 1534   if (Obj.SectionIndexTable)
 1535     Obj.SectionIndexTable->initialize(Obj.sections());
 1535     Obj.SectionIndexTable->initialize(Obj.sections());
 1540   if (Obj.SymbolTable) {
 1541     Obj.SymbolTable->initialize(Obj.sections());
 1541     Obj.SymbolTable->initialize(Obj.sections());
 1542     initSymbolTable(Obj.SymbolTable);
 1546     for (auto &Sec : Obj.sections()) {
 1551         if (Obj.SectionNames != &Sec)
 1556       StrTab = &Obj.addSection<StringTableSection>();
 1558     SymbolTableSection &SymTab = Obj.addSection<SymbolTableSection>();
 1561     SymTab.initialize(Obj.sections());
 1563     Obj.SymbolTable = &SymTab;
 1569   for (auto &Sec : Obj.sections()) {
 1570     if (&Sec == Obj.SymbolTable)
 1572     Sec.initialize(Obj.sections());
 1576         initRelocations(RelSec, Obj.SymbolTable,
 1579         initRelocations(RelSec, Obj.SymbolTable,
 1591     Obj.HadShdrs = false;
 1593     Obj.SectionNames =
 1594         Obj.sections().template getSectionOfType<StringTableSection>(
 1613   Obj.OSABI = Ehdr.e_ident[EI_OSABI];
 1614   Obj.ABIVersion = Ehdr.e_ident[EI_ABIVERSION];
 1615   Obj.Type = Ehdr.e_type;
 1616   Obj.Machine = Ehdr.e_machine;
 1617   Obj.Version = Ehdr.e_version;
 1618   Obj.Entry = Ehdr.e_entry;
 1619   Obj.Flags = Ehdr.e_flags;