Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Object/
H A DObject.cpp31 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap()
32 return reinterpret_cast<section_iterator*>(SI); in unwrap()
36 wrap(const section_iterator *SI) { in wrap()
38 (const_cast<section_iterator*>(SI)); in wrap()
84 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
85 return wrap(new section_iterator(SI)); in LLVMGetSections()
104 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection()
H A DObjectFile.cpp42 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
88 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
89 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DCOFFObjectFile.cpp249 Expected<section_iterator>
259 return section_iterator(SectionRef(Ret, this)); in getSymbolSection()
859 section_iterator COFFObjectFile::section_begin() const { in section_begin()
862 return section_iterator(SectionRef(Ret, this)); in section_begin()
865 section_iterator COFFObjectFile::section_end() const { in section_end()
870 return section_iterator(SectionRef(Ret, this)); in section_end()
H A DWasmObjectFile.cpp1251 Expected<section_iterator>
1277 return section_iterator(SectionRef(Ref, this)); in getSymbolSection()
1411 section_iterator WasmObjectFile::section_begin() const { in section_begin()
1414 return section_iterator(SectionRef(Ref, this)); in section_begin()
1417 section_iterator WasmObjectFile::section_end() const { in section_end()
1420 return section_iterator(SectionRef(Ref, this)); in section_end()
H A DMachOObjectFile.cpp1788 Expected<section_iterator> SecOrError = getSymbolSection(Symb); in getSymbolType()
1791 section_iterator Sec = *SecOrError; in getSymbolType()
1838 Expected<section_iterator>
1851 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
2104 section_iterator
2410 section_iterator
2414 return section_iterator(SectionRef(Sec, this)); in getRelocationRelocatedSection()
2465 section_iterator MachOObjectFile::section_begin() const { in section_begin()
2467 return section_iterator(SectionRef(DRI, this)); in section_begin()
2470 section_iterator MachOObjectFile::section_end() const { in section_end()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DObjectFile.h48 using section_iterator = content_iterator<SectionRef>; variable
133 section_iterator getRelocatedSection() const;
176 Expected<section_iterator> getSection() const;
230 virtual Expected<section_iterator>
257 virtual section_iterator getRelocatedSection(DataRefImpl Sec) const;
288 virtual section_iterator section_begin() const = 0;
289 virtual section_iterator section_end() const = 0;
291 using section_iterator_range = iterator_range<section_iterator>;
379 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection()
482 inline section_iterator SectionRef::getRelocatedSection() const { in getRelocatedSection()
H A DELFObjectFile.h116 class elf_section_iterator : public section_iterator {
118 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
373 section_iterator section_begin() const override;
374 section_iterator section_end() const override;
623 Expected<section_iterator>
636 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
640 Expected<section_iterator>
811 section_iterator
824 return section_iterator(SectionRef(toDRI(*R), this)); in getRelocatedSection()
1002 return section_iterator(SectionRef()); in section_begin()
[all …]
H A DWasm.h168 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
197 section_iterator section_begin() const override;
198 section_iterator section_end() const override;
H A DMachO.h294 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
340 section_iterator getRelocationSection(DataRefImpl Rel) const;
350 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
362 section_iterator section_begin() const override;
363 section_iterator section_end() const override;
H A DCOFF.h899 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
929 section_iterator section_begin() const override;
930 section_iterator section_end() const override;
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp75 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
145 section_iterator SecI = O.getRelocationRelocatedSection(RI); in makeValueAddendPCRel()
163 section_iterator
166 section_iterator SI = Obj.section_begin(); in getSectionByAddress()
167 section_iterator SE = Obj.section_end(); in getSectionByAddress()
H A DRuntimeDyld.cpp311 section_iterator SI = Obj.section_end(); in loadObjectImpl()
349 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
352 section_iterator RelocatedSection = SI->getRelocatedSection(); in loadObjectImpl()
481 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize()
575 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize()
597 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
599 section_iterator RelSecI = SI->getRelocatedSection(); in computeSectionStubBufSize()
H A DRuntimeDyldMachO.h113 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
H A DRuntimeDyldELF.cpp603 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection()
605 section_iterator RelSecI = si->getRelocatedSection(); in findOPDEntrySection()
650 section_iterator TSI = Obj.section_end(); in findOPDEntrySection()
1158 section_iterator si = *SectionOrErr; in processRelocationRef()
1869 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad()
1872 section_iterator RelocatedSection = SI->getRelocatedSection(); in finalizeLoad()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp289 llvm::object::section_iterator const &I, in SectionFilterIterator()
290 llvm::object::section_iterator const &E) in SectionFilterIterator()
311 llvm::object::section_iterator Iterator;
312 llvm::object::section_iterator End;
532 Expected<section_iterator> SymSI = SI->getSection(); in getRelocationValueString()
648 section_iterator SI = O->section_begin(); in printRelocationTargetName()
1243 Expected<section_iterator> SectionOrErr = Symbol.getSection(); in addDynamicElfSymbols()
1246 section_iterator SecI = *SectionOrErr; in addDynamicElfSymbols()
1389 section_iterator Sec2 = Section.getRelocatedSection(); in disassembleObject()
1418 section_iterator SecI = *SectionOrErr; in disassembleObject()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h166 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation()
180 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
H A DRuntimeDyldMachOARM.h377 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation()
391 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
H A DRuntimeDyldCOFFX86_64.h204 section_iterator SecI = *SectionOrError; in processRelocationRef()
H A DRuntimeDyldCOFFThumb.h26 section_iterator Section) { in isThumbFunc()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DInputFile.h149 Optional<object::section_iterator> SectionIter;
/freebsd-12.1/contrib/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp173 section_iterator Sec2 = Section.getRelocatedSection(); in dumpCXXData()
189 Expected<object::section_iterator> SecIOrErr = Sym.getSection(); in dumpCXXData()
191 object::section_iterator SecI = *SecIOrErr; in dumpCXXData()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DMachODumper.cpp549 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation()
619 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol()
621 section_iterator SecI = *SecIOrErr; in printSymbol()
H A DWin64EHDumper.cpp156 Expected<section_iterator> SI = Symbol.getSection(); in resolveRelocation()
/freebsd-12.1/contrib/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp489 section_iterator Sec = SectionRef(); in darwinPrintSymbol()
491 Expected<section_iterator> SecOrErr = in darwinPrintSymbol()
962 Expected<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar()
967 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar()
1023 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar()
1028 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp55 for (section_iterator Section : Obj->sections()) { in create()

12