| /freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 71 ElfHeader.e_shentsize = sizeof(typename ELFT::Shdr); in initELFHeader() 76 using Elf_Shdr = typename ELFT::Shdr; 78 Elf_Shdr Shdr; member 173 using Elf_Shdr = typename ELFT::Shdr; 267 DynSym.Content.write(Data + DynSym.Shdr.sh_offset); in write() 268 DynStr.Content.write(Data + DynStr.Shdr.sh_offset); in write() 269 DynTab.Content.write(Data + DynTab.Shdr.sh_offset); in write() 270 ShStrTab.Content.write(Data + ShStrTab.Shdr.sh_offset); in write() 290 StrTab.Shdr.sh_type = SHT_STRTAB; in fillStrTabShdr() 291 StrTab.Shdr.sh_flags = ShFlags; in fillStrTabShdr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | DwarfCFIEHPrinter.h | 33 using Elf_Shdr = typename ELFT::Shdr; 50 static const typename ELFT::Shdr * 57 for (const typename ELFT::Shdr &Shdr : *SectionsOrErr) in findSectionByAddress() 58 if (Shdr.sh_addr == Addr) in findSectionByAddress() 59 return &Shdr; in findSectionByAddress() 87 for (const Elf_Shdr &Shdr : *SectionsOrErr) { in printUnwindInformation() 88 Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr); in printUnwindInformation() 92 printEHFrame(&Shdr); in printUnwindInformation()
|
| 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()
|
| H A D | ELFDumper.cpp | 437 const typename ELFT::Shdr *SymTab; 444 const typename ELFT::Shdr &Sec, in getLinkAsSymtab() 446 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab() 687 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec, 1059 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections())) in findNotEmptySectionByAddress() local 1060 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress() 1061 return &Shdr; in findNotEmptySectionByAddress() 1826 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *> 2349 const typename ELFT::Shdr * 2351 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in findSectionByName() local [all …]
|
| H A D | XCOFFDumper.cpp | 68 template <typename Shdr, typename RelTy> 69 void printRelocations(ArrayRef<Shdr> Sections); 487 template <typename Shdr, typename RelTy> 488 void XCOFFDumper::printRelocations(ArrayRef<Shdr> Sections) { in printRelocations() 491 for (const Shdr &Sec : Sections) { in printRelocations() 497 Expected<ArrayRef<RelTy>> ErrOrRelocations = Obj.relocations<Shdr, RelTy>(Sec); in printRelocations()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 40 void printSymbolVersionDependency(const typename ELFT::Shdr &Sec); 88 for (const typename ELFT::Shdr &Sec : *SectionsOrError) { in getDynamicStrTab() 146 const typename ELFT::Shdr *SymSec = in getRelocationValueString() 380 const typename ELFT::Shdr &Sec) { in printSymbolVersionDependency() 401 ArrayRef<typename ELFT::Shdr> Sections = in printSymbolVersion() 403 for (const typename ELFT::Shdr &Shdr : Sections) { in printSymbolVersion() local 404 if (Shdr.sh_type != ELF::SHT_GNU_verneed && in printSymbolVersion() 405 Shdr.sh_type != ELF::SHT_GNU_verdef) in printSymbolVersion() 408 if (Shdr.sh_type == ELF::SHT_GNU_verneed) { in printSymbolVersion() 409 printSymbolVersionDependency(Shdr); in printSymbolVersion() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 69 Elf_Shdr &Shdr = *reinterpret_cast<Elf_Shdr *>(B); in writeShdr() local 70 Shdr.sh_name = Sec.NameIndex; in writeShdr() 71 Shdr.sh_type = Sec.Type; in writeShdr() 72 Shdr.sh_flags = Sec.Flags; in writeShdr() 73 Shdr.sh_addr = Sec.Addr; in writeShdr() 74 Shdr.sh_offset = Sec.Offset; in writeShdr() 75 Shdr.sh_size = Sec.Size; in writeShdr() 76 Shdr.sh_link = Sec.Link; in writeShdr() 77 Shdr.sh_info = Sec.Info; in writeShdr() 78 Shdr.sh_addralign = Sec.Align; in writeShdr() [all …]
|
| /freebsd/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() 171 const typename ELFT::Shdr &Sec) { in checkSectionOffsets() 189 const typename ELFT::Shdr &Sec) { in checkSectionVMA() 208 const typename ELFT::Shdr &Sec) { in isSectionInSegment() 309 Expected<StringRef> getLinkAsStrtab(const typename ELFT::Shdr &Sec) const; 435 Elf_Note_Iterator notes_begin(const Elf_Shdr &Shdr, Error &Err) const { in notes_begin() argument 436 assert(Shdr.sh_type == ELF::SHT_NOTE && "Shdr is not of type SHT_NOTE"); in notes_begin() 438 if (Shdr.sh_offset + Shdr.sh_size > getBufSize()) { in notes_begin() 440 createError("invalid offset (0x" + Twine::utohexstr(Shdr.sh_offset) + in notes_begin() [all …]
|
| H A D | ELFTypes.h | 61 using Shdr = Elf_Shdr_Impl<ELFType<E, Is64>>; member 82 using ShdrRange = ArrayRef<Shdr>; 117 using Elf_Shdr = typename ELFT::Shdr; \
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | InputSection.cpp | 48 const typename ELFT::Shdr &hdr) { in getSectionContents() 98 const typename ELFT::Shdr &hdr, in InputSectionBase() 145 typename ELFT::Shdr shdr = f->template getELFShdrs<ELFT>()[relSecIdx]; in relsOrRelas() 398 InputSection::InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, in InputSection() 1344 const typename ELFT::Shdr &header, in EhInputSection() 1472 const typename ELFT::Shdr &header, in MergeInputSection() 1514 template InputSection::InputSection(ObjFile<ELF32LE> &, const ELF32LE::Shdr &, 1516 template InputSection::InputSection(ObjFile<ELF32BE> &, const ELF32BE::Shdr &, 1518 template InputSection::InputSection(ObjFile<ELF64LE> &, const ELF64LE::Shdr &, 1520 template InputSection::InputSection(ObjFile<ELF64BE> &, const ELF64BE::Shdr &, [all …]
|
| H A D | OutputSections.cpp | 58 void OutputSection::writeHeaderTo(typename ELFT::Shdr *shdr) { in writeHeaderTo() 942 template void OutputSection::writeHeaderTo<ELF32LE>(ELF32LE::Shdr *Shdr); 943 template void OutputSection::writeHeaderTo<ELF32BE>(ELF32BE::Shdr *Shdr); 944 template void OutputSection::writeHeaderTo<ELF64LE>(ELF64LE::Shdr *Shdr); 945 template void OutputSection::writeHeaderTo<ELF64BE>(ELF64BE::Shdr *Shdr);
|
| H A D | InputSection.h | 157 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header, 336 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 397 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 421 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
|
| H A D | InputFiles.h | 207 reinterpret_cast<const typename ELFT::Shdr *>(elfShdrs), numELFShdrs); in getELFShdrs() 366 const typename ELFT::Shdr *sec);
|
| H A D | OutputSections.h | 45 template <typename ELFT> void writeHeaderTo(typename ELFT::Shdr *sHdr);
|
| H A D | DWARF.cpp | 27 ArrayRef<typename ELFT::Shdr> objSections = obj->template getELFShdrs<ELFT>(); in LLDDwarfObj()
|
| H A D | InputFiles.cpp | 502 using Elf_Shdr = typename ELFT::Shdr; in init() 1391 parseVerdefs(const uint8_t *base, const typename ELFT::Shdr *sec) { in parseVerdefs() 1416 const typename ELFT::Shdr *sec) { in parseVerneed() 1477 static uint64_t getAlignment(ArrayRef<typename ELFT::Shdr> sections, in getAlignment() 1504 using Elf_Shdr = typename ELFT::Shdr; in parse()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELFLinkGraphBuilder.h | 127 virtual bool excludeSection(const typename ELFT::Shdr &Sect) const { in excludeSection() 137 Error forEachRelaRelocation(const typename ELFT::Shdr &RelSect, 146 Error forEachRelRelocation(const typename ELFT::Shdr &RelSect, 153 Error forEachRelaRelocation(const typename ELFT::Shdr &RelSect, in forEachRelaRelocation() 166 Error forEachRelRelocation(const typename ELFT::Shdr &RelSect, in forEachRelRelocation() 597 const typename ELFT::Shdr &RelSect, RelocHandlerFunction &&Func) { in forEachRelaRelocation() 647 const typename ELFT::Shdr &RelSect, RelocHandlerFunction &&Func) { in forEachRelRelocation()
|
| H A D | ELF_x86.cpp | 166 const typename ELFT::Shdr &FixupSection, in addSingleRelocation()
|
| H A D | ELF_x86_64.cpp | 127 const typename ELFT::Shdr &FixupSection, in addSingleRelocation()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | DebugObjectManagerPlugin.cpp | 51 ELFDebugObjectSection(const typename ELFT::Shdr *Header) in ELFDebugObjectSection() 52 : Header(const_cast<typename ELFT::Shdr *>(Header)) {} in ELFDebugObjectSection() 60 typename ELFT::Shdr *Header; 76 if (HeaderPtr < Start || HeaderPtr + sizeof(typename ELFT::Shdr) > End) in validateInBounds() 254 using SectionHeader = typename ELFT::Shdr; in CreateArchType()
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/ |
| H A D | vdso.cpp | 82 size_t shdr_get_symbol_count(ElfW(Shdr) * vdso_shdr, size_t e_shnum) { in shdr_get_symbol_count() 207 reinterpret_cast<ElfW(Shdr) *>(vdso_ehdr_addr + vdso_ehdr->e_shoff); in initialize_vdso_global_cache()
|
| /freebsd/sys/sys/ |
| H A D | elf_generic.h | 67 __ElfType(Shdr);
|
| /freebsd/contrib/elftoolchain/libelf/ |
| H A D | libelf_align.c | 76 [ELF_T_SHDR] = MALIGN(Shdr),
|
| /freebsd/sys/cddl/compat/opensolaris/sys/ |
| H A D | elf.h | 41 __sElfN(Shdr);
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ELFObjectFile.cpp | 927 using Elf_Shdr = typename ELFT::Shdr; in readBBAddrMapImpl() 983 using Elf_Shdr = typename ELFT::Shdr; in readDynsymVersionsImpl()
|