Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DObject.cpp32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap()
33 return reinterpret_cast<section_iterator*>(SI); in unwrap()
37 wrap(const section_iterator *SI) { in wrap()
39 (const_cast<section_iterator*>(SI)); in wrap()
154 return wrap(new section_iterator(sections.begin())); in LLVMObjectFileCopySectionIterator()
200 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
201 return wrap(new section_iterator(SI)); in LLVMGetSections()
220 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection()
H A DObjectFile.cpp48 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
101 Expected<section_iterator>
103 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DXCOFFObjectFile.cpp223 Expected<section_iterator>
235 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection()
421 section_iterator XCOFFObjectFile::section_begin() const { in section_begin()
424 return section_iterator(SectionRef(DRI, this)); in section_begin()
427 section_iterator XCOFFObjectFile::section_end() const { in section_end()
431 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()
915 section_iterator COFFObjectFile::section_begin() const { in section_begin()
918 return section_iterator(SectionRef(Ret, this)); in section_begin()
921 section_iterator COFFObjectFile::section_end() const { in section_end()
926 return section_iterator(SectionRef(Ret, this)); in section_end()
H A DMachOObjectFile.cpp1835 Expected<section_iterator> SecOrError = getSymbolSection(Symb); in getSymbolType()
1838 section_iterator Sec = *SecOrError; in getSymbolType()
1887 Expected<section_iterator>
1900 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
2160 section_iterator
2162 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection()
2485 section_iterator
2489 return section_iterator(SectionRef(Sec, this)); in getRelocationRelocatedSection()
2540 section_iterator MachOObjectFile::section_begin() const { in section_begin()
2542 return section_iterator(SectionRef(DRI, this)); in section_begin()
[all …]
H A DWasmObjectFile.cpp1577 Expected<section_iterator>
1585 return section_iterator(SectionRef(Ref, this)); in getSymbolSection()
1736 section_iterator WasmObjectFile::section_begin() const { in section_begin()
1739 return section_iterator(SectionRef(Ref, this)); in section_begin()
1742 section_iterator WasmObjectFile::section_end() const { in section_end()
1745 return section_iterator(SectionRef(Ref, this)); in section_end()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DObjectFile.h47 using section_iterator = content_iterator<SectionRef>; variable
135 Expected<section_iterator> getRelocatedSection() const;
199 Expected<section_iterator> getSection() const;
253 virtual Expected<section_iterator>
280 virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const;
315 virtual section_iterator section_begin() const = 0;
316 virtual section_iterator section_end() const = 0;
318 using section_iterator_range = iterator_range<section_iterator>;
406 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection()
519 inline Expected<section_iterator> SectionRef::getRelocatedSection() const { in getRelocatedSection()
H A DELFObjectFile.h124 class elf_section_iterator : public section_iterator {
126 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
131 return static_cast<const ELFSectionRef *>(section_iterator::operator->());
135 return static_cast<const ELFSectionRef &>(section_iterator::operator*());
273 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
275 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
296 Expected<section_iterator>
424 section_iterator section_begin() const override;
425 section_iterator section_end() const override;
510 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName()
[all …]
H A DMachO.h291 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
338 section_iterator getRelocationSection(DataRefImpl Rel) const;
348 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
360 section_iterator section_begin() const override;
361 section_iterator section_end() 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 DXCOFFObjectFile.h283 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
313 section_iterator section_begin() const override;
314 section_iterator section_end() const override;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h74 llvm::object::section_iterator const &I, in SectionFilterIterator()
75 llvm::object::section_iterator const &E) in SectionFilterIterator()
96 llvm::object::section_iterator Iterator;
97 llvm::object::section_iterator End;
/netbsd-src/external/apache2/llvm/dist/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.cpp319 section_iterator SI = Obj.section_end(); in loadObjectImpl()
358 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
362 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl()
366 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl()
427 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
539 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize()
644 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize()
670 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
673 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize()
677 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
H A DRuntimeDyldMachO.h112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
H A DRuntimeDyldELF.cpp672 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection()
675 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection()
679 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()
725 section_iterator TSI = Obj.section_end(); in findOPDEntrySection()
1234 section_iterator si = *SectionOrErr; in processRelocationRef()
1947 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad()
1950 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad()
1955 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp176 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in setPreferredBaseAddress()
189 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in decodePseudoProbe()
362 section_iterator SecI = unwrapOrError(Symbol.getSection(), FileName); in disassemble()
375 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in disassemble()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp177 Expected<section_iterator> ErrOrSec = Section.getRelocatedSection(); in dumpCXXData()
181 section_iterator Sec2 = *ErrOrSec; in dumpCXXData()
197 Expected<object::section_iterator> SecIOrErr = Sym.getSection(); in dumpCXXData()
199 object::section_iterator SecI = *SecIOrErr; in dumpCXXData()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h168 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation()
182 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
H A DRuntimeDyldMachOARM.h379 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation()
393 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DInputFile.h148 Optional<object::section_iterator> SectionIter;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp548 section_iterator Section = MainBinary.section_end(); in loadMainBinarySymbols()
571 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h766 using section_iterator = pointee_iterator<SectionList::iterator>; variable
1015 iterator_range<section_iterator> sections() { in sections()
1016 return make_range(section_iterator(Sections.begin()), in sections()
1017 section_iterator(Sections.end())); in sections()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DMachODumper.cpp560 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation()
635 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol()
639 section_iterator SecI = *SecIOrErr; in printSymbol()

12