Lines Matching refs:Shdr
495 for (const auto &Shdr : Obj->sections()) in findSectionByAddress() local
496 if (Shdr.sh_addr == Addr) in findSectionByAddress()
497 return &Shdr; in findSectionByAddress()
504 for (const auto &Shdr : Obj.sections()) { in findSectionByName() local
505 if (Name == errorOrDefault(Obj.getSectionName(&Shdr))) in findSectionByName()
506 return &Shdr; in findSectionByName()
2083 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".MIPS.abiflags"); in printMipsABIFlags() local
2084 if (!Shdr) { in printMipsABIFlags()
2088 ErrorOr<ArrayRef<uint8_t>> Sec = Obj->getSectionContents(Shdr); in printMipsABIFlags()
2121 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".reginfo"); in printMipsReginfo() local
2122 if (!Shdr) { in printMipsReginfo()
2126 ErrorOr<ArrayRef<uint8_t>> Sec = Obj->getSectionContents(Shdr); in printMipsReginfo()