Searched refs:SecRef (Results 1 – 7 of 7) sorted by relevance
178 for (auto &SecRef : Base::Sections) { in addRelocations() local179 if (SecRef.sh_type != ELF::SHT_RELA && SecRef.sh_type != ELF::SHT_REL) in addRelocations()181 auto RelSectName = Base::Obj.getSectionName(SecRef); in addRelocations()189 auto UpdateSection = Base::Obj.getSection(SecRef.sh_info); in addRelocations()215 auto Relocations = Base::Obj.relas(SecRef); in addRelocations()
263 for (auto &SecRef : Sections) { in addRelocations() local264 if (SecRef.sh_type != ELF::SHT_RELA && SecRef.sh_type != ELF::SHT_REL) in addRelocations()267 if (SecRef.sh_type == ELF::SHT_REL) in addRelocations()271 auto RelSectName = Obj.getSectionName(SecRef); in addRelocations()279 auto UpdateSection = Obj.getSection(SecRef.sh_info); in addRelocations()306 auto Relocations = Obj.relas(SecRef); in addRelocations()
124 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local128 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()132 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()145 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
80 Expected<object::SectionRef> SecRef = in extractSections() local82 if (!SecRef) in extractSections()83 return SecRef.takeError(); in extractSections()86 MachOObj.getSectionContents(SecRef->getRawDataRefImpl()); in extractSections()95 for (auto RI = MachOObj.section_rel_begin(SecRef->getRawDataRefImpl()), in extractSections()96 RE = MachOObj.section_rel_end(SecRef->getRawDataRefImpl()); in extractSections()
89 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local90 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()98 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
396 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local398 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()401 if (!SecRef.IsNameUnique) in dumpAddressSection()
517 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()518 if (SecRef) in getSymbolSectionName()520 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()521 return SecRef.takeError(); in getSymbolSectionName()