Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp122 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local
126 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()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp399 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local
401 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()
404 if (!SecRef.IsNameUnique) in dumpAddressSection()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp97 if (Expected<object::SectionRef> SecRef = Obj.getSection(SecIndex)) { in constructSectionCommon() local
99 for (const object::RelocationRef &Reloc : SecRef->relocations()) { in constructSectionCommon()
115 return SecRef.takeError(); in constructSectionCommon()
/llvm-project-15.0.7/llvm/lib/Object/
H A DXCOFFObjectFile.cpp753 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()
754 if (SecRef) in getSymbolSectionName()
756 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()
757 return SecRef.takeError(); in getSymbolSectionName()