Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Object/
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()
DObjectFile.cpp32 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
68 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
69 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
/external/llvm/include/llvm/Object/
DObjectFile.h36 typedef content_iterator<SectionRef> section_iterator; typedef
107 section_iterator getRelocatedSection() const;
151 Expected<section_iterator> getSection() const;
206 virtual Expected<section_iterator>
228 virtual section_iterator getRelocatedSection(DataRefImpl Sec) const;
252 virtual section_iterator section_begin() const = 0;
253 virtual section_iterator section_end() const = 0;
255 typedef iterator_range<section_iterator> section_iterator_range;
331 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection()
419 inline section_iterator SectionRef::getRelocatedSection() const { in getRelocatedSection()
DELFObjectFile.h95 class elf_section_iterator : public section_iterator {
97 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
102 return static_cast<const ELFSectionRef *>(section_iterator::operator->());
106 return static_cast<const ELFSectionRef &>(section_iterator::operator*());
218 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
220 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
237 section_iterator getRelocatedSection(DataRefImpl Sec) const override;
327 section_iterator section_begin() const override;
328 section_iterator section_end() const override;
533 Expected<section_iterator>
[all …]
DMachO.h213 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
237 section_iterator getRelocationSection(DataRefImpl Rel) const;
246 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
258 section_iterator section_begin() const override;
259 section_iterator section_end() const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
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()
DObjectFile.cpp48 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
94 Expected<section_iterator>
96 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
DXCOFFObjectFile.cpp215 Expected<section_iterator>
227 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection()
375 section_iterator XCOFFObjectFile::section_begin() const { in section_begin()
378 return section_iterator(SectionRef(DRI, this)); in section_begin()
381 section_iterator XCOFFObjectFile::section_end() const { in section_end()
385 return section_iterator(SectionRef(DRI, this)); in section_end()
/external/llvm-project/llvm/lib/Object/
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()
DObjectFile.cpp48 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
101 Expected<section_iterator>
103 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DObjectFile.h48 using section_iterator = content_iterator<SectionRef>; variable
133 Expected<section_iterator> getRelocatedSection() const;
197 Expected<section_iterator> getSection() const;
251 virtual Expected<section_iterator>
277 virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const;
308 virtual section_iterator section_begin() const = 0;
309 virtual section_iterator section_end() const = 0;
311 using section_iterator_range = iterator_range<section_iterator>;
397 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection()
506 inline Expected<section_iterator> SectionRef::getRelocatedSection() const { in getRelocatedSection()
DELFObjectFile.h121 class elf_section_iterator : public section_iterator {
123 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
128 return static_cast<const ELFSectionRef *>(section_iterator::operator->());
132 return static_cast<const ELFSectionRef &>(section_iterator::operator*());
269 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
271 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
291 Expected<section_iterator>
419 section_iterator section_begin() const override;
420 section_iterator section_end() const override;
474 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName()
[all …]
DXCOFFObjectFile.h261 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
287 section_iterator section_begin() const override;
288 section_iterator section_end() const override;
DMachO.h291 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
337 section_iterator getRelocationSection(DataRefImpl Rel) const;
347 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
359 section_iterator section_begin() const override;
360 section_iterator section_end() const override;
DWasm.h170 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
198 section_iterator section_begin() const override;
199 section_iterator section_end() const override;
/external/llvm-project/llvm/include/llvm/Object/
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()
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*());
282 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
284 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
305 Expected<section_iterator>
436 section_iterator section_begin() const override;
437 section_iterator section_end() const override;
520 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName()
[all …]
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;
/external/llvm-project/llvm/tools/llvm-objdump/
Dllvm-objdump.h62 llvm::object::section_iterator const &I, in SectionFilterIterator()
63 llvm::object::section_iterator const &E) in SectionFilterIterator()
84 llvm::object::section_iterator Iterator;
85 llvm::object::section_iterator End;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp73 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
142 section_iterator SecI = O.getRelocationRelocatedSection(RI); in makeValueAddendPCRel()
160 section_iterator
163 section_iterator SI = Obj.section_begin(); in getSectionByAddress()
164 section_iterator SE = Obj.section_end(); in getSectionByAddress()
DRuntimeDyld.cpp254 section_iterator SI = Obj.section_end(); in loadObjectImpl()
292 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
295 section_iterator RelocatedSection = SI->getRelocatedSection(); in loadObjectImpl()
424 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize()
514 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
516 section_iterator RelSecI = SI->getRelocatedSection(); in computeSectionStubBufSize()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
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()
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()
666 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
669 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize()
673 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
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()
DRuntimeDyld.cpp310 section_iterator SI = Obj.section_end(); in loadObjectImpl()
348 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
352 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl()
356 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl()
417 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
529 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize()
631 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize()
653 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
656 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize()
660 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()

1234