Lines Matching refs:Shdr

433   const typename ELFT::Shdr *SymTab;
440 const typename ELFT::Shdr &Sec, in getLinkAsSymtab()
442 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab()
674 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec,
1043 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections())) in findNotEmptySectionByAddress() local
1044 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress()
1045 return &Shdr; in findNotEmptySectionByAddress()
1802 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *>
2320 const typename ELFT::Shdr *
2322 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in findSectionByName() local
2323 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr)) { in findSectionByName()
2325 return &Shdr; in findSectionByName()
2327 reportUniqueWarning("unable to read the name of " + describe(Shdr) + in findSectionByName()
3532 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeadersNumString()
3552 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeaderTableIndexString()
3905 static bool isRelocationSec(const typename ELFT::Shdr &Sec, in isRelocationSec()
4575 const typename ELFT::Shdr &Sec) { in checkTLSSections()
4593 const typename ELFT::Shdr &Sec) { in checkPTDynamic()
4893 const typename ELFT::Shdr &Sec, const Twine &Label, unsigned EntriesNum) { in printGNUVersionSectionProlog()
4901 if (Expected<const typename ELFT::Shdr *> LinkedSecOrErr = in printGNUVersionSectionProlog()
5095 decodeAddrsigSection(const ELFFile<ELFT> &Obj, const typename ELFT::Shdr &Sec) { in decodeAddrsigSection()
5958 ArrayRef<typename ELFT::Shdr> Sections = cantFail(Obj.sections()); in processNotesHelper()
5960 for (const typename ELFT::Shdr &S : Sections) { in processNotesHelper()
6116 for (const typename ELFT::Shdr &Sec : cantFail(Obj.sections())) { in getMemtagGlobalsSectionContents()
6251 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in printDependentLibsHelper() local
6253 if (Shdr.sh_type != ELF::SHT_LLVM_DEPENDENT_LIBRARIES) in printDependentLibsHelper()
6256 OnSectionStart(Shdr); in printDependentLibsHelper()
6258 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr); in printDependentLibsHelper()
6390 auto OnSectionStart = [&](const Elf_Shdr &Shdr) { in printDependentLibs() argument
6394 Current.Offset = Shdr.sh_offset; in printDependentLibs()
6395 Current.Name = this->getPrintableSectionName(Shdr); in printDependentLibs()
6827 const typename ELFT::Shdr *Sec = Dumper.findSectionByName(".MIPS.abiflags"); in getMipsAbiFlagsSection()
7449 static bool getSymbolIndices(const typename ELFT::Shdr *CGRelSection, in getSymbolIndices()
7547 using Elf_Shdr = typename ELFT::Shdr; in printBBAddrMaps()
7846 for (const Elf_Shdr &Shdr : cantFail(this->Obj.sections())) { in printELFLinkerOptions() local
7848 if (Shdr.sh_type != ELF::SHT_LLVM_LINKER_OPTIONS) in printELFLinkerOptions()
7852 this->Obj.getSectionContents(Shdr); in printELFLinkerOptions()