Searched refs:section_iterator (Results 1 - 25 of 38) sorted by relevance

12

/external/swiftshader/third_party/LLVM/include/llvm-c/
H A DObject.h62 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) {
63 return reinterpret_cast<section_iterator*>(SI);
67 wrap(const section_iterator *SI) {
69 (const_cast<section_iterator*>(SI));
/external/swiftshader/third_party/LLVM/lib/Object/
H A DObject.cpp30 section_iterator SI = unwrap(ObjectFile)->begin_sections();
31 return wrap(new section_iterator(SI));
H A DCOFFObjectFile.cpp488 section_iterator COFFObjectFile::begin_sections() const {
492 return section_iterator(SectionRef(ret, this));
495 section_iterator COFFObjectFile::end_sections() const {
499 return section_iterator(SectionRef(ret, this));
H A DMachOObjectFile.cpp507 section_iterator MachOObjectFile::begin_sections() const {
511 return section_iterator(SectionRef(DRI, this));
514 section_iterator MachOObjectFile::end_sections() const {
518 return section_iterator(SectionRef(DRI, this));
/external/llvm/lib/Object/
H A DObject.cpp31 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) {
32 return reinterpret_cast<section_iterator*>(SI);
36 wrap(const section_iterator *SI) {
38 (const_cast<section_iterator*>(SI));
84 section_iterator SI = OB->getBinary()->section_begin();
85 return wrap(new section_iterator(SI));
104 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection();
H A DObjectFile.cpp32 Expected<section_iterator> SymSec = S.getSection();
68 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const {
69 return section_iterator(SectionRef(Sec, this));
H A DMachOObjectFile.cpp525 Expected<section_iterator> SecOrError = getSymbolSection(Symb);
528 section_iterator Sec = *SecOrError;
575 Expected<section_iterator>
588 return section_iterator(SectionRef(DRI, this));
773 section_iterator
775 return section_iterator(getAnyRelocationSection(getRelocation(Rel)));
1075 section_iterator
1079 return section_iterator(SectionRef(Sec, this));
1130 section_iterator MachOObjectFile::section_begin() const {
1132 return section_iterator(SectionRe
[all...]
/external/llvm/include/llvm/Object/
H A DObjectFile.h36 typedef content_iterator<SectionRef> section_iterator; typedef in namespace:llvm::object
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 {
419 inline section_iterator SectionRe
[all...]
H A DELFObjectFile.h95 class elf_section_iterator : public section_iterator {
97 elf_section_iterator(const section_iterator &B) : section_iterator(B) {
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_en
[all...]
H A 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/include/llvm/Object/
H A DMachO.h34 virtual section_iterator begin_sections() const;
35 virtual section_iterator end_sections() const;
H A DCOFF.h138 virtual section_iterator begin_sections() const;
139 virtual section_iterator end_sections() const;
H A DObjectFile.h199 typedef content_iterator<SectionRef> section_iterator; typedef in namespace:llvm::object
276 virtual section_iterator begin_sections() const = 0;
277 virtual section_iterator end_sections() const = 0;
/external/swiftshader/third_party/LLVM/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp59 for (section_iterator i = Obj->begin_sections(),
/external/swiftshader/third_party/LLVM/tools/llvm-size/
H A Dllvm-size.cpp115 for (section_iterator i = o->begin_sections(),
157 for (section_iterator i = o->begin_sections(),
193 for (section_iterator i = o->begin_sections(),
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp73 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr);
142 section_iterator SecI = O.getRelocationRelocatedSection(RI);
160 section_iterator
163 section_iterator SI = Obj.section_begin();
164 section_iterator SE = Obj.section_end();
H A DRuntimeDyldMachO.h112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
H A DRuntimeDyld.cpp254 section_iterator SI = Obj.section_end();
292 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
295 section_iterator RelocatedSection = SI->getRelocatedSection();
424 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
514 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
516 section_iterator RelSecI = SI->getRelocatedSection();
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h166 section_iterator SAI = getSectionByAddress(Obj, AddrA);
180 section_iterator SBI = getSectionByAddress(Obj, AddrB);
H A DRuntimeDyldCOFFX86_64.h123 section_iterator SecI = *SectionOrError;
H A DRuntimeDyldMachOARM.h247 section_iterator SAI = getSectionByAddress(MachO, AddrA);
261 section_iterator SBI = getSectionByAddress(MachO, AddrB);
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
H A Dllvm-objdump.cpp166 for (section_iterator i = Obj->begin_sections(),
322 for (section_iterator si = o->begin_sections(), se = o->end_sections();
352 for (section_iterator si = o->begin_sections(), se = o->end_sections();
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp199 llvm::object::section_iterator const &I,
200 llvm::object::section_iterator const &E)
221 llvm::object::section_iterator Iterator;
222 llvm::object::section_iterator End;
535 Expected<section_iterator> SymSI = SI->getSection();
710 section_iterator SI = O->section_begin();
996 section_iterator Sec2 = Section.getRelocatedSection();
1015 Expected<section_iterator> SectionOrErr = Symbol.getSection();
1017 section_iterator SecI = *SectionOrErr;
1412 Expected<section_iterator> SectionOrEr
[all...]
/external/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp440 section_iterator Section = MainBinary.section_end();
459 Expected<section_iterator> SectionOrErr = Sym.getSection();
/external/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp41 for (section_iterator Section : Obj->sections()) {

Completed in 328 milliseconds

12