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()
126 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local130 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()134 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()147 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
398 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local400 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()403 if (!SecRef.IsNameUnique) in dumpAddressSection()
99 if (Expected<object::SectionRef> SecRef = Obj.getSection(SecIndex)) { in constructSectionCommon() local101 for (const object::RelocationRef &Reloc : SecRef->relocations()) { in constructSectionCommon()117 return SecRef.takeError(); in constructSectionCommon()
817 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()818 if (SecRef) in getSymbolSectionName()820 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()821 return SecRef.takeError(); in getSymbolSectionName()