Home
last modified time | relevance | path

Searched refs:section_iterator (Results 1 – 25 of 77) 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/swiftshader/third_party/llvm-16.0/llvm/lib/Object/
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()
DObjectFile.cpp47 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol()
104 Expected<section_iterator>
106 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/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Object/
DObjectFile.h47 using section_iterator = content_iterator<SectionRef>; variable
138 Expected<section_iterator> getRelocatedSection() const;
202 Expected<section_iterator> getSection() const;
256 virtual Expected<section_iterator>
283 virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const;
323 virtual section_iterator section_begin() const = 0;
324 virtual section_iterator section_end() const = 0;
326 using section_iterator_range = iterator_range<section_iterator>;
423 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection()
537 inline Expected<section_iterator> SectionRef::getRelocatedSection() const { in getRelocatedSection()
DELFObjectFile.h137 class elf_section_iterator : public section_iterator {
139 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
144 return static_cast<const ELFSectionRef *>(section_iterator::operator->());
148 return static_cast<const ELFSectionRef &>(section_iterator::operator*());
286 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
288 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
309 Expected<section_iterator>
438 section_iterator section_begin() const override;
439 section_iterator section_end() const override;
526 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName()
[all …]
DWasm.h173 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
201 section_iterator section_begin() const override;
202 section_iterator section_end() const override;
/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/swiftshader/third_party/llvm-16.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.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()
/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()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp199 llvm::object::section_iterator const &I, in SectionFilterIterator()
200 llvm::object::section_iterator const &E) in SectionFilterIterator()
221 llvm::object::section_iterator Iterator;
222 llvm::object::section_iterator End;
535 Expected<section_iterator> SymSI = SI->getSection(); in getRelocationValueString()
710 section_iterator SI = O->section_begin(); in printRelocationTargetName()
996 section_iterator Sec2 = Section.getRelocatedSection(); in DisassembleObject()
1015 Expected<section_iterator> SectionOrErr = Symbol.getSection(); in DisassembleObject()
1017 section_iterator SecI = *SectionOrErr; in DisassembleObject()
1412 Expected<section_iterator> SectionOrErr = Symbol.getSection(); in PrintSymbolTable()
[all …]

1234