Lines Matching defs:Shdr
436 const typename ELFT::Shdr *SymTab;
443 const typename ELFT::Shdr &Sec,
445 Expected<const typename ELFT::Shdr *> SymtabOrErr =
686 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec,
1058 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections()))
1059 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0)
1060 return &Shdr;
1782 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *>
2305 const typename ELFT::Shdr *
2307 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) {
2308 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr)) {
2310 return &Shdr;
2312 reportUniqueWarning("unable to read the name of " + describe(Shdr) +
3521 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections();
3541 Expected<ArrayRef<typename ELFT::Shdr>> ArrOrErr = Obj.sections();
3900 static bool isRelocationSec(const typename ELFT::Shdr &Sec,
4670 const typename ELFT::Shdr &Sec) {
4688 const typename ELFT::Shdr &Sec) {
5016 const typename ELFT::Shdr &Sec, const Twine &Label, unsigned EntriesNum) {
5024 if (Expected<const typename ELFT::Shdr *> LinkedSecOrErr =
5219 decodeAddrsigSection(const ELFFile<ELFT> &Obj, const typename ELFT::Shdr &Sec) {
6129 ArrayRef<typename ELFT::Shdr> Sections = cantFail(Obj.sections());
6131 for (const typename ELFT::Shdr &S : Sections) {
6284 for (const typename ELFT::Shdr &Sec : cantFail(Obj.sections())) {
6419 for (const Elf_Shdr &Shdr : cantFail(Obj.sections())) {
6421 if (Shdr.sh_type != ELF::SHT_LLVM_DEPENDENT_LIBRARIES)
6424 OnSectionStart(Shdr);
6426 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr);
6563 auto OnSectionStart = [&](const Elf_Shdr &Shdr) {
6567 Current.Offset = Shdr.sh_offset;
6568 Current.Name = this->getPrintableSectionName(Shdr);
6995 const typename ELFT::Shdr *Sec = Dumper.findSectionByName(".MIPS.abiflags");
7691 static bool getSymbolIndices(const typename ELFT::Shdr *CGRelSection,
7790 using Elf_Shdr = typename ELFT::Shdr;
8116 for (const Elf_Shdr &Shdr : cantFail(this->Obj.sections())) {
8118 if (Shdr.sh_type != ELF::SHT_LLVM_LINKER_OPTIONS)
8122 this->Obj.getSectionContents(Shdr);