Home
last modified time | relevance | path

Searched refs:SecRef (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp80 Expected<object::SectionRef> SecRef = in extractSections() local
82 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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DObjDumper.cpp116 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local
117 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()
125 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp126 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local
130 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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp398 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local
400 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()
403 if (!SecRef.IsNameUnique) in dumpAddressSection()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp99 if (Expected<object::SectionRef> SecRef = Obj.getSection(SecIndex)) { in constructSectionCommon() local
101 for (const object::RelocationRef &Reloc : SecRef->relocations()) { in constructSectionCommon()
117 return SecRef.takeError(); in constructSectionCommon()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DXCOFFObjectFile.cpp817 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()
818 if (SecRef) in getSymbolSectionName()
820 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()
821 return SecRef.takeError(); in getSymbolSectionName()