Home
last modified time | relevance | path

Searched refs:Shdr (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp77 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 DELFDump.cpp47 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 DDwarfCFIEHPrinter.h32 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 DELFDumper.cpp409 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 DARMEHABIPrinter.h325 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 DObject.cpp72 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 DObject.h324 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 DELF.h132 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 DELFTypes.h60 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 DOutputSections.cpp58 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 DInputSection.cpp53 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 DInputSection.h107 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 DOutputSections.h43 template <typename ELFT> void writeHeaderTo(typename ELFT::Shdr *sHdr);
H A DDWARF.cpp30 ArrayRef<typename ELFT::Shdr> objSections = in LLDDwarfObj()
H A DInputFiles.cpp359 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 DInputFiles.h394 const typename ELFT::Shdr *sec);
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp48 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 Dsym.c78 __sElfN(Shdr);
203 Shdr *shdr = elf_getshdr(scn); in symtab_init()
/freebsd-13.1/sys/sys/
H A Delf_generic.h69 __ElfType(Shdr);
/freebsd-13.1/contrib/elftoolchain/libelf/
H A Dlibelf_align.c76 [ELF_T_SHDR] = MALIGN(Shdr),
H A Delf_types.m453 `SHDR, Shdr',
/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Delf.h43 __sElfN(Shdr);
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp239 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 DRuntimeDyldELF.cpp143 typedef typename ELFT::Shdr Elf_Shdr; in createRTDyldELFObject()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1589 using Elf_Shdr = typename ELFT::Shdr; in readSymbolVersionsELF()

12