Lines Matching refs:Shdr
415 const typename ELFT::Shdr *SymTab;
422 const typename ELFT::Shdr &Sec, in getLinkAsSymtab()
424 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab()
647 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec,
981 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections())) in findNotEmptySectionByAddress() local
982 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress()
983 return &Shdr; in findNotEmptySectionByAddress()
1707 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *>
2210 const typename ELFT::Shdr *
2212 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in findSectionByName() local
2213 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr)) { in findSectionByName()
2215 return &Shdr; in findSectionByName()
2217 reportUniqueWarning("unable to read the name of " + describe(Shdr) + in findSectionByName()
3259 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeadersNumString()
3279 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeaderTableIndexString()
3587 static bool isRelocationSec(const typename ELFT::Shdr &Sec) { in isRelocationSec()
4187 const typename ELFT::Shdr &Sec) { in checkTLSSections()
4205 const typename ELFT::Shdr &Sec) { in checkOffsets()
4223 const typename ELFT::Shdr &Sec) { in checkVMA()
4242 const typename ELFT::Shdr &Sec) { in checkPTDynamic()
4532 const typename ELFT::Shdr &Sec, const Twine &Label, unsigned EntriesNum) { in printGNUVersionSectionProlog()
4540 if (Expected<const typename ELFT::Shdr *> LinkedSecOrErr = in printGNUVersionSectionProlog()
4848 decodeAddrsigSection(const ELFFile<ELFT> &Obj, const typename ELFT::Shdr &Sec) { in decodeAddrsigSection()
5639 ArrayRef<typename ELFT::Shdr> Sections = cantFail(Obj.sections()); in printNotesHelper()
5641 for (const typename ELFT::Shdr &S : Sections) { in printNotesHelper()
5802 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in printDependentLibsHelper() local
5804 if (Shdr.sh_type != ELF::SHT_LLVM_DEPENDENT_LIBRARIES) in printDependentLibsHelper()
5807 OnSectionStart(Shdr); in printDependentLibsHelper()
5809 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr); in printDependentLibsHelper()
5935 auto OnSectionStart = [&](const Elf_Shdr &Shdr) { in printDependentLibs() argument
5939 Current.Offset = Shdr.sh_offset; in printDependentLibs()
5940 Current.Name = this->getPrintableSectionName(Shdr); in printDependentLibs()
6392 const typename ELFT::Shdr *Sec = Dumper.findSectionByName(".MIPS.abiflags"); in getMipsAbiFlagsSection()
6958 static bool getSymbolIndices(const typename ELFT::Shdr *CGRelSection, in getSymbolIndices()
7276 for (const Elf_Shdr &Shdr : cantFail(this->Obj.sections())) { in printELFLinkerOptions() local
7278 if (Shdr.sh_type != ELF::SHT_LLVM_LINKER_OPTIONS) in printELFLinkerOptions()
7282 this->Obj.getSectionContents(Shdr); in printELFLinkerOptions()