Searched refs:SecRef (Results 1 – 6 of 6) sorted by relevance
229 for (const auto &SecRef : m_object->sections()) { in CreateSections() local 230 const auto COFFSection = m_object->getCOFFSection(SecRef); in CreateSections() 232 llvm::Expected<StringRef> Name = SecRef.getName(); in CreateSections() 239 static_cast<user_id_t>(SecRef.getIndex()), in CreateSections()
82 Expected<object::SectionRef> SecRef = in extractSections() 84 if (!SecRef) in extractSections() 85 return SecRef.takeError(); in extractSections() 88 MachOObj.getSectionContents(SecRef->getRawDataRefImpl()); in extractSections() 97 for (auto RI = MachOObj.section_rel_begin(SecRef->getRawDataRefImpl()), in extractSections() 98 RE = MachOObj.section_rel_end(SecRef->getRawDataRefImpl()); in extractSections() 80 Expected<object::SectionRef> SecRef = extractSections() local
118 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local119 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()127 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
128 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() 132 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections() 136 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections() 149 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections() 127 for (auto &SecRef : Obj.sections()) { createNormalizedSections() local
373 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local375 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()378 if (!SecRef.IsNameUnique) in dumpAddressSection()
833 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()834 if (SecRef) in getSymbolSectionName()836 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()837 return SecRef.takeError(); in getSymbolSectionName()