| /freebsd-13.1/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 77 using Elf_Shdr = typename ELFT::Shdr; 79 Elf_Shdr Shdr; member 290 StrTab.Shdr.sh_type = SHT_STRTAB; in fillStrTabShdr() 291 StrTab.Shdr.sh_flags = ShFlags; in fillStrTabShdr() 294 StrTab.Shdr.sh_info = 0; in fillStrTabShdr() 298 StrTab.Shdr.sh_entsize = 0; in fillStrTabShdr() 299 StrTab.Shdr.sh_link = 0; in fillStrTabShdr() 303 SymTab.Shdr.sh_type = ShType; in fillSymTabShdr() 304 SymTab.Shdr.sh_flags = SHF_ALLOC; in fillSymTabShdr() 310 SymTab.Shdr.sh_info = 1; in fillSymTabShdr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 47 for (const typename ELFT::Shdr &Sec : *SectionsOrError) { in getDynamicStrTab() 101 const typename ELFT::Shdr *SymSec = in getRelocationValueString() 306 static void printSymbolVersionDefinition(const typename ELFT::Shdr &Shdr, in printSymbolVersionDefinition() argument 340 ArrayRef<typename ELFT::Shdr> Sections = in printSymbolVersionInfo() 342 for (const typename ELFT::Shdr &Shdr : Sections) { in printSymbolVersionInfo() local 343 if (Shdr.sh_type != ELF::SHT_GNU_verneed && in printSymbolVersionInfo() 344 Shdr.sh_type != ELF::SHT_GNU_verdef) in printSymbolVersionInfo() 348 unwrapOrError(Elf.getSectionContents(Shdr), FileName); in printSymbolVersionInfo() 349 const typename ELFT::Shdr *StrTabSec = in printSymbolVersionInfo() 350 unwrapOrError(Elf.getSection(Shdr.sh_link), FileName); in printSymbolVersionInfo() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | DwarfCFIEHPrinter.h | 32 using Elf_Shdr = typename ELFT::Shdr; 49 static const typename ELFT::Shdr * 56 for (const typename ELFT::Shdr &Shdr : *SectionsOrErr) in findSectionByAddress() 57 if (Shdr.sh_addr == Addr) in findSectionByAddress() 58 return &Shdr; in findSectionByAddress() 86 for (const Elf_Shdr &Shdr : *SectionsOrErr) { in printUnwindInformation() 87 Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr); in printUnwindInformation() 91 printEHFrame(&Shdr); in printUnwindInformation()
|
| H A D | ELFDumper.cpp | 409 const typename ELFT::Shdr *SymTab; 418 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab() 961 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress() 962 return &Shdr; in findNotEmptySectionByAddress() 2139 const typename ELFT::Shdr * 2144 return &Shdr; in findSectionByName() 5417 for (const typename ELFT::Shdr &S : Sections) { in printNotesHelper() 5577 OnSectionStart(Shdr); in printDependentLibsHelper() 5705 auto OnSectionStart = [&](const Elf_Shdr &Shdr) { in printDependentLibs() argument 5709 Current.Offset = Shdr.sh_offset; in printDependentLibs() [all …]
|
| H A D | ARMEHABIPrinter.h | 325 typedef typename ET::Shdr Elf_Shdr; 395 const typename ET::Shdr * 437 static const typename ET::Shdr * 440 for (const typename ET::Shdr &Sec : unwrapOrError(FileName, Obj.sections())) in findSectionContainingAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 72 Shdr.sh_type = Sec.Type; in writeShdr() 74 Shdr.sh_addr = Sec.Addr; in writeShdr() 76 Shdr.sh_size = Sec.Size; in writeShdr() 77 Shdr.sh_link = Sec.Link; in writeShdr() 78 Shdr.sh_info = Sec.Info; in writeShdr() 1539 if (!Shdr) in initSymbolTable() 2051 Elf_Shdr &Shdr = in writeShdrs() local 2053 Shdr.sh_name = 0; in writeShdrs() 2055 Shdr.sh_flags = 0; in writeShdrs() 2056 Shdr.sh_addr = 0; in writeShdrs() [all …]
|
| H A D | Object.h | 324 using Elf_Shdr = typename ELFT::Shdr; 943 using Elf_Shdr = typename ELFT::Shdr; 958 Expected<SectionBase &> makeSection(const Elf_Shdr &Shdr);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELF.h | 132 const typename ELFT::Shdr &Sec) { in getSecIndexForError() 146 const typename ELFT::Shdr &Sec) { in describe() 332 if (Shdr.sh_offset + Shdr.sh_size > getBufSize()) { in notes_begin() 338 return Elf_Note_Iterator(base() + Shdr.sh_offset, Shdr.sh_size, Err); in notes_begin() 365 iterator_range<Elf_Note_Iterator> notes(const Elf_Shdr &Shdr, in notes() argument 367 return make_range(notes_begin(Shdr, Err), notes_end()); in notes() 405 inline Expected<const typename ELFT::Shdr *> 448 Expected<const typename ELFT::Shdr *> 458 Expected<const typename ELFT::Shdr *> 1046 Expected<const typename ELFT::Shdr *> [all …]
|
| H A D | ELFTypes.h | 60 using Shdr = Elf_Shdr_Impl<ELFType<E, Is64>>; member 81 using ShdrRange = ArrayRef<Shdr>; 116 using Elf_Shdr = typename ELFT::Shdr; \
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | OutputSections.cpp | 58 void OutputSection::writeHeaderTo(typename ELFT::Shdr *shdr) { in writeHeaderTo() 577 template void OutputSection::writeHeaderTo<ELF32LE>(ELF32LE::Shdr *Shdr); 578 template void OutputSection::writeHeaderTo<ELF32BE>(ELF32BE::Shdr *Shdr); 579 template void OutputSection::writeHeaderTo<ELF64LE>(ELF64LE::Shdr *Shdr); 580 template void OutputSection::writeHeaderTo<ELF64BE>(ELF64BE::Shdr *Shdr);
|
| H A D | InputSection.cpp | 53 const typename ELFT::Shdr &hdr) { in getSectionContents() 140 const typename ELFT::Shdr &hdr, in InputSectionBase() 364 InputSection::InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, in InputSection() 1301 const typename ELFT::Shdr &header, in EhInputSection() 1405 const typename ELFT::Shdr &header, in MergeInputSection() 1452 template InputSection::InputSection(ObjFile<ELF32LE> &, const ELF32LE::Shdr &, 1454 template InputSection::InputSection(ObjFile<ELF32BE> &, const ELF32BE::Shdr &, 1481 const ELF32LE::Shdr &, StringRef); 1483 const ELF32BE::Shdr &, StringRef); 1485 const ELF64LE::Shdr &, StringRef); [all …]
|
| H A D | InputSection.h | 107 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header, 274 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 333 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 355 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
|
| H A D | OutputSections.h | 43 template <typename ELFT> void writeHeaderTo(typename ELFT::Shdr *sHdr);
|
| H A D | DWARF.cpp | 30 ArrayRef<typename ELFT::Shdr> objSections = in LLDDwarfObj()
|
| H A D | InputFiles.cpp | 359 using Elf_Shdr = typename ELFT::Shdr; in init() 1354 const typename ELFT::Shdr *sec) { in parseVerdefs() 1384 const typename ELFT::Shdr *sec) { in parseVerneed() 1417 static uint64_t getAlignment(ArrayRef<typename ELFT::Shdr> sections, in getAlignment() 1444 using Elf_Shdr = typename ELFT::Shdr; in parse() 1840 ArrayRef<typename ELFT::Shdr> sections = CHECK(obj.sections(), this); in parse() 1842 for (const typename ELFT::Shdr &sec : sections) { in parse()
|
| H A D | InputFiles.h | 394 const typename ELFT::Shdr *sec);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | DebugObjectManagerPlugin.cpp | 48 ELFDebugObjectSection(const typename ELFT::Shdr *Header) in ELFDebugObjectSection() 49 : Header(const_cast<typename ELFT::Shdr *>(Header)) {} in ELFDebugObjectSection() 57 typename ELFT::Shdr *Header; 86 if (HeaderPtr < Start || HeaderPtr + sizeof(typename ELFT::Shdr) > End) in validateInBounds() 249 using SectionHeader = typename ELFT::Shdr; in CreateArchType()
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/lockstat/ |
| H A D | sym.c | 78 __sElfN(Shdr); 203 Shdr *shdr = elf_getshdr(scn); in symtab_init()
|
| /freebsd-13.1/sys/sys/ |
| H A D | elf_generic.h | 69 __ElfType(Shdr);
|
| /freebsd-13.1/contrib/elftoolchain/libelf/ |
| H A D | libelf_align.c | 76 [ELF_T_SHDR] = MALIGN(Shdr),
|
| H A D | elf_types.m4 | 53 `SHDR, Shdr',
|
| /freebsd-13.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | elf.h | 43 __sElfN(Shdr);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 239 ArrayRef<typename ELFT::Shdr> SHeaders); 634 static void overrideFields(ELFYAML::Section *From, typename ELFT::Shdr &To) { in overrideFields() 1074 Expected<uint64_t> emitDWARF(typename ELFT::Shdr &SHeader, StringRef Name, in emitDWARF()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 143 typedef typename ELFT::Shdr Elf_Shdr; in createRTDyldELFObject()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 1589 using Elf_Shdr = typename ELFT::Shdr; in readSymbolVersionsELF()
|