Searched refs:SecRef (Results 1 – 6 of 6) sorted by relevance
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()
116 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local117 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()125 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
122 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local126 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()130 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()143 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
399 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local401 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()404 if (!SecRef.IsNameUnique) in dumpAddressSection()
97 if (Expected<object::SectionRef> SecRef = Obj.getSection(SecIndex)) { in constructSectionCommon() local99 for (const object::RelocationRef &Reloc : SecRef->relocations()) { in constructSectionCommon()115 return SecRef.takeError(); in constructSectionCommon()
753 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()754 if (SecRef) in getSymbolSectionName()756 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()757 return SecRef.takeError(); in getSymbolSectionName()