Home
last modified time | relevance | path

Searched refs:section_iterator (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h47 using section_iterator = content_iterator<SectionRef>; variable
139 Expected<section_iterator> getRelocatedSection() const;
203 Expected<section_iterator> getSection() const;
257 virtual Expected<section_iterator>
324 virtual section_iterator section_begin() const = 0;
325 virtual section_iterator section_end() const = 0;
409 const section_iterator &Begin, in SectionFilterIterator()
410 const section_iterator &End) in SectionFilterIterator()
431 section_iterator Iterator;
432 section_iterator End;
[all …]
H A DELFObjectFile.h147 class elf_section_iterator : public section_iterator {
149 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
319 Expected<section_iterator>
450 section_iterator section_begin() const override;
451 section_iterator section_end() const override;
812 Expected<section_iterator>
835 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
839 Expected<section_iterator>
1021 Expected<section_iterator>
1189 return section_iterator(SectionRef()); in section_begin()
[all …]
H A DGOFFObjectFile.h48 section_iterator section_begin() const override;
49 section_iterator section_end() const override;
77 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
H A DWasm.h176 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
204 section_iterator section_begin() const override;
205 section_iterator section_end() const override;
H A DMachO.h438 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
489 section_iterator getRelocationSection(DataRefImpl Rel) const;
499 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
513 section_iterator section_begin() const override;
514 section_iterator section_end() const override;
H A DXCOFFObjectFile.h593 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
624 section_iterator section_begin() const override;
625 section_iterator section_end() const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp33 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap()
34 return reinterpret_cast<section_iterator*>(SI); in unwrap()
38 wrap(const section_iterator *SI) { in wrap()
40 (const_cast<section_iterator*>(SI)); in wrap()
157 return wrap(new section_iterator(sections.begin())); in LLVMObjectFileCopySectionIterator()
203 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
204 return wrap(new section_iterator(SI)); in LLVMGetSections()
223 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection()
H A DGOFFObjectFile.cpp334 Expected<section_iterator>
339 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
358 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
397 section_iterator GOFFObjectFile::section_begin() const { in section_begin()
400 return section_iterator(SectionRef(Sec, this)); in section_begin()
403 section_iterator GOFFObjectFile::section_end() const { in section_end()
405 return section_iterator(SectionRef(Sec, this)); in section_end()
H A DObjectFile.cpp47 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
104 Expected<section_iterator>
106 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DXCOFFObjectFile.cpp351 Expected<section_iterator>
362 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection()
700 section_iterator XCOFFObjectFile::section_begin() const { in section_begin()
703 return section_iterator(SectionRef(DRI, this)); in section_begin()
706 section_iterator XCOFFObjectFile::section_end() const { in section_end()
710 return section_iterator(SectionRef(DRI, this)); in section_end()
H A DCOFFObjectFile.cpp246 Expected<section_iterator>
256 return section_iterator(SectionRef(Ret, this)); in getSymbolSection()
1029 section_iterator COFFObjectFile::section_begin() const { in section_begin()
1032 return section_iterator(SectionRef(Ret, this)); in section_begin()
1035 section_iterator COFFObjectFile::section_end() const { in section_end()
1040 return section_iterator(SectionRef(Ret, this)); in section_end()
H A DWasmObjectFile.cpp1753 Expected<section_iterator>
1761 return section_iterator(SectionRef(Ref, this)); in getSymbolSection()
1894 section_iterator WasmObjectFile::section_begin() const { in section_begin()
1897 return section_iterator(SectionRef(Ref, this)); in section_begin()
1900 section_iterator WasmObjectFile::section_end() const { in section_end()
1903 return section_iterator(SectionRef(Ref, this)); in section_end()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp74 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
144 section_iterator SecI = O.getRelocationRelocatedSection(RI); in makeValueAddendPCRel()
162 section_iterator
165 section_iterator SI = Obj.section_begin(); in getSectionByAddress()
166 section_iterator SE = Obj.section_end(); in getSectionByAddress()
H A DRuntimeDyld.cpp322 section_iterator SI = Obj.section_end(); in loadObjectImpl()
364 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
368 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl()
372 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl()
433 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
546 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize()
656 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize()
682 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
685 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize()
689 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
H A DRuntimeDyldMachO.h112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
H A DRuntimeDyldELF.cpp712 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection()
715 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection()
719 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()
765 section_iterator TSI = Obj.section_end(); in findOPDEntrySection()
1275 section_iterator si = *SectionOrErr; in processRelocationRef()
2378 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad()
2381 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad()
2386 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h167 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation()
181 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
H A DRuntimeDyldMachOARM.h378 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation()
392 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
H A DRuntimeDyldCOFFX86_64.h210 object::section_iterator SecI = *SectionOrError; in processRelocationRef()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp178 Expected<section_iterator> ErrOrSec = Section.getRelocatedSection(); in dumpCXXData()
182 section_iterator Sec2 = *ErrOrSec; in dumpCXXData()
198 Expected<object::section_iterator> SecIOrErr = Sym.getSection(); in dumpCXXData()
200 object::section_iterator SecI = *SecIOrErr; in dumpCXXData()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp42 for (section_iterator Section : Obj->sections()) { in create()
155 Expected<section_iterator> Sec = Symbol.getSection(); in addSymbol()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp449 section_iterator Sec = SectionRef(); in darwinPrintSymbol()
451 Expected<section_iterator> SecOrErr = in darwinPrintSymbol()
659 section_iterator Sec = cantFail(Sym.getSection()); in printLineNumbers()
932 Expected<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar()
937 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar()
982 section_iterator SecIter = cantFail(I->getSection()); in getSymbolNMTypeChar()
1028 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar()
1033 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
1722 Expected<section_iterator> SymSecOrErr = Sym.getSection(); in getXCOFFExports()
1730 section_iterator SecIter = *SymSecOrErr; in getXCOFFExports()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h926 using section_iterator = variable
979 nested_collection_iterator<section_iterator, Section::symbol_iterator,
988 nested_collection_iterator<section_iterator, Section::block_iterator,
1252 iterator_range<section_iterator> sections() { in sections()
1254 section_iterator(Sections.begin(), GetSectionMapEntryValue()), in sections()
1255 section_iterator(Sections.end(), GetSectionMapEntryValue())); in sections()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInputFile.h151 std::optional<object::section_iterator> SectionIter;
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp569 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation()
679 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol()
683 section_iterator SecI = *SecIOrErr; in printSymbol()

12