Lines Matching refs:Shdr

409   const typename ELFT::Shdr *SymTab;
416 const typename ELFT::Shdr &Sec, in getLinkAsSymtab()
418 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab()
646 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec,
960 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections())) in findNotEmptySectionByAddress() local
961 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress()
962 return &Shdr; in findNotEmptySectionByAddress()
1636 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *>
2139 const typename ELFT::Shdr *
2141 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in findSectionByName() local
2142 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr)) { in findSectionByName()
2144 return &Shdr; in findSectionByName()
2146 reportUniqueWarning("unable to read the name of " + describe(Shdr) + in findSectionByName()
3177 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeadersNumString()
3197 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeaderTableIndexString()
3492 static bool isRelocationSec(const typename ELFT::Shdr &Sec) { in isRelocationSec()
4082 const typename ELFT::Shdr &Sec) { in checkTLSSections()
4100 const typename ELFT::Shdr &Sec) { in checkOffsets()
4118 const typename ELFT::Shdr &Sec) { in checkVMA()
4137 const typename ELFT::Shdr &Sec) { in checkPTDynamic()
4427 const typename ELFT::Shdr &Sec, const Twine &Label, unsigned EntriesNum) { in printGNUVersionSectionProlog()
4435 if (Expected<const typename ELFT::Shdr *> LinkedSecOrErr = in printGNUVersionSectionProlog()
4743 decodeAddrsigSection(const ELFFile<ELFT> &Obj, const typename ELFT::Shdr &Sec) { in decodeAddrsigSection()
5415 ArrayRef<typename ELFT::Shdr> Sections = cantFail(Obj.sections()); in printNotesHelper()
5417 for (const typename ELFT::Shdr &S : Sections) { in printNotesHelper()
5572 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in printDependentLibsHelper() local
5574 if (Shdr.sh_type != ELF::SHT_LLVM_DEPENDENT_LIBRARIES) in printDependentLibsHelper()
5577 OnSectionStart(Shdr); in printDependentLibsHelper()
5579 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr); in printDependentLibsHelper()
5705 auto OnSectionStart = [&](const Elf_Shdr &Shdr) { in printDependentLibs() argument
5709 Current.Offset = Shdr.sh_offset; in printDependentLibs()
5710 Current.Name = this->getPrintableSectionName(Shdr); in printDependentLibs()
6163 const typename ELFT::Shdr *Sec = Dumper.findSectionByName(".MIPS.abiflags"); in getMipsAbiFlagsSection()
6720 static bool getSymbolIndices(const typename ELFT::Shdr *CGRelSection, in getSymbolIndices()
6999 for (const Elf_Shdr &Shdr : cantFail(this->Obj.sections())) { in printELFLinkerOptions() local
7001 if (Shdr.sh_type != ELF::SHT_LLVM_LINKER_OPTIONS) in printELFLinkerOptions()
7005 this->Obj.getSectionContents(Shdr); in printELFLinkerOptions()