Lines Matching refs:Shdr

436   const typename ELFT::Shdr *SymTab;
443 const typename ELFT::Shdr &Sec, in getLinkAsSymtab()
445 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab()
686 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec,
1058 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections())) in findNotEmptySectionByAddress() local
1059 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress()
1060 return &Shdr; in findNotEmptySectionByAddress()
1769 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *>
2292 const typename ELFT::Shdr *
2294 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in findSectionByName() local
2295 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr)) { in findSectionByName()
2297 return &Shdr; in findSectionByName()
2299 reportUniqueWarning("unable to read the name of " + describe(Shdr) + in findSectionByName()
3508 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeadersNumString()
3528 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections(); in getSectionHeaderTableIndexString()
3884 static bool isRelocationSec(const typename ELFT::Shdr &Sec, in isRelocationSec()
4654 const typename ELFT::Shdr &Sec) { in checkTLSSections()
4672 const typename ELFT::Shdr &Sec) { in checkPTDynamic()
5000 const typename ELFT::Shdr &Sec, const Twine &Label, unsigned EntriesNum) { in printGNUVersionSectionProlog()
5008 if (Expected<const typename ELFT::Shdr *> LinkedSecOrErr = in printGNUVersionSectionProlog()
5203 decodeAddrsigSection(const ELFFile<ELFT> &Obj, const typename ELFT::Shdr &Sec) { in decodeAddrsigSection()
6103 ArrayRef<typename ELFT::Shdr> Sections = cantFail(Obj.sections()); in processNotesHelper()
6105 for (const typename ELFT::Shdr &S : Sections) { in processNotesHelper()
6258 for (const typename ELFT::Shdr &Sec : cantFail(Obj.sections())) { in getMemtagGlobalsSectionContents()
6393 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) { in printDependentLibsHelper() local
6395 if (Shdr.sh_type != ELF::SHT_LLVM_DEPENDENT_LIBRARIES) in printDependentLibsHelper()
6398 OnSectionStart(Shdr); in printDependentLibsHelper()
6400 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr); in printDependentLibsHelper()
6537 auto OnSectionStart = [&](const Elf_Shdr &Shdr) { in printDependentLibs() argument
6541 Current.Offset = Shdr.sh_offset; in printDependentLibs()
6542 Current.Name = this->getPrintableSectionName(Shdr); in printDependentLibs()
6969 const typename ELFT::Shdr *Sec = Dumper.findSectionByName(".MIPS.abiflags"); in getMipsAbiFlagsSection()
7662 static bool getSymbolIndices(const typename ELFT::Shdr *CGRelSection, in getSymbolIndices()
7761 using Elf_Shdr = typename ELFT::Shdr; in printBBAddrMaps()
8087 for (const Elf_Shdr &Shdr : cantFail(this->Obj.sections())) { in printELFLinkerOptions() local
8089 if (Shdr.sh_type != ELF::SHT_LLVM_LINKER_OPTIONS) in printELFLinkerOptions()
8093 this->Obj.getSectionContents(Shdr); in printELFLinkerOptions()