Lines Matching refs:Sec
41 void printSymbolVersionDependency(const typename ELFT::Shdr &Sec);
81 for (const typename ELFT::Shdr &Sec : *SectionsOrError) { in getDynamicStrTab()
82 if (Sec.sh_type == ELF::SHT_DYNSYM) in getDynamicStrTab()
83 return Elf.getStringTableForSymtab(Sec); in getDynamicStrTab()
176 const object::ELFSectionRef &Sec) { in getSectionLMA() argument
186 Phdr, *cast<const ELFObjectFile<ELFT>>(Sec.getObject()) in getSectionLMA()
187 ->getSection(Sec.getRawDataRefImpl())))) in getSectionLMA()
188 return Sec.getAddress() - Phdr.p_vaddr + Phdr.p_paddr; in getSectionLMA()
191 return Sec.getAddress(); in getSectionLMA()
194 uint64_t objdump::getELFSectionLMA(const object::ELFSectionRef &Sec) { in getELFSectionLMA() argument
195 if (const auto *ELFObj = dyn_cast<ELF32LEObjectFile>(Sec.getObject())) in getELFSectionLMA()
196 return getSectionLMA(ELFObj->getELFFile(), Sec); in getELFSectionLMA()
197 else if (const auto *ELFObj = dyn_cast<ELF32BEObjectFile>(Sec.getObject())) in getELFSectionLMA()
198 return getSectionLMA(ELFObj->getELFFile(), Sec); in getELFSectionLMA()
199 else if (const auto *ELFObj = dyn_cast<ELF64LEObjectFile>(Sec.getObject())) in getELFSectionLMA()
200 return getSectionLMA(ELFObj->getELFFile(), Sec); in getELFSectionLMA()
201 const auto *ELFObj = cast<ELF64BEObjectFile>(Sec.getObject()); in getELFSectionLMA()
202 return getSectionLMA(ELFObj->getELFFile(), Sec); in getELFSectionLMA()
325 if (!any_of(Obj.sections(), [](const ELFSectionRef Sec) { in printDynamicRelocations() argument
326 return Sec.getType() == ELF::SHT_DYNAMIC; in printDynamicRelocations()
359 const typename ELFT::Shdr &Sec) { in printSymbolVersionDependency() argument
362 getELFFile().getVersionDependencies(Sec, this->WarningHandler); in printSymbolVersionDependency()