Searched refs:SecRef (Results 1 – 6 of 6) sorted by relevance
225 for (const auto &SecRef : m_object->sections()) { in CreateSections() local226 const auto COFFSection = m_object->getCOFFSection(SecRef); in CreateSections()228 llvm::Expected<StringRef> Name = SecRef.getName(); in CreateSections()235 static_cast<user_id_t>(SecRef.getIndex()), in CreateSections()
81 Expected<object::SectionRef> SecRef = in extractSections() local83 if (!SecRef) in extractSections()84 return SecRef.takeError(); in extractSections()87 MachOObj.getSectionContents(SecRef->getRawDataRefImpl()); in extractSections()96 for (auto RI = MachOObj.section_rel_begin(SecRef->getRawDataRefImpl()), in extractSections()97 RE = MachOObj.section_rel_end(SecRef->getRawDataRefImpl()); in extractSections()
120 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local121 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()129 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
120 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local124 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()128 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()141 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
373 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local375 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()378 if (!SecRef.IsNameUnique) in dumpAddressSection()
838 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()839 if (SecRef) in getSymbolSectionName()841 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()842 return SecRef.takeError(); in getSymbolSectionName()