Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm-c/
DObject.h62 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap()
63 return reinterpret_cast<section_iterator*>(SI); in unwrap()
67 wrap(const section_iterator *SI) { in wrap()
69 (const_cast<section_iterator*>(SI)); in wrap()
/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()
DMachOObjectFile.cpp525 Expected<section_iterator> SecOrError = getSymbolSection(Symb); in getSymbolType()
528 section_iterator Sec = *SecOrError; in getSymbolType()
575 Expected<section_iterator>
588 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
773 section_iterator
775 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection()
1075 section_iterator
1079 return section_iterator(SectionRef(Sec, this)); in getRelocationRelocatedSection()
1130 section_iterator MachOObjectFile::section_begin() const { in section_begin()
1132 return section_iterator(SectionRef(DRI, this)); in section_begin()
[all …]
DCOFFObjectFile.cpp237 Expected<section_iterator>
247 return section_iterator(SectionRef(Ret, this)); in getSymbolSection()
812 section_iterator COFFObjectFile::section_begin() const { in section_begin()
815 return section_iterator(SectionRef(Ret, this)); in section_begin()
818 section_iterator COFFObjectFile::section_end() const { in section_end()
823 return section_iterator(SectionRef(Ret, this)); in section_end()
/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/lib/Object/
DObject.cpp30 section_iterator SI = unwrap(ObjectFile)->begin_sections(); in LLVMGetSections()
31 return wrap(new section_iterator(SI)); in LLVMGetSections()
DCOFFObjectFile.cpp488 section_iterator COFFObjectFile::begin_sections() const { in begin_sections()
492 return section_iterator(SectionRef(ret, this)); in begin_sections()
495 section_iterator COFFObjectFile::end_sections() const { in end_sections()
499 return section_iterator(SectionRef(ret, this)); in end_sections()
DMachOObjectFile.cpp507 section_iterator MachOObjectFile::begin_sections() const { in begin_sections()
511 return section_iterator(SectionRef(DRI, this)); in begin_sections()
514 section_iterator MachOObjectFile::end_sections() const { in end_sections()
518 return section_iterator(SectionRef(DRI, this)); in end_sections()
DELFObjectFile.cpp369 virtual section_iterator begin_sections() const;
370 virtual section_iterator end_sections() const;
1200 section_iterator ELFObjectFile<target_endianness, is64Bits>
1205 return section_iterator(SectionRef(ret, this)); in begin_sections()
1209 section_iterator ELFObjectFile<target_endianness, is64Bits>
1216 return section_iterator(SectionRef(ret, this)); in end_sections()
/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()
DRuntimeDyldMachO.h112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
/external/swiftshader/third_party/LLVM/tools/llvm-size/
Dllvm-size.cpp115 for (section_iterator i = o->begin_sections(), in PrintObjectSectionSizes()
157 for (section_iterator i = o->begin_sections(), in PrintObjectSectionSizes()
193 for (section_iterator i = o->begin_sections(), in PrintObjectSectionSizes()
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachO.h34 virtual section_iterator begin_sections() const;
35 virtual section_iterator end_sections() const;
DCOFF.h138 virtual section_iterator begin_sections() const;
139 virtual section_iterator end_sections() const;
DObjectFile.h199 typedef content_iterator<SectionRef> section_iterator; typedef
276 virtual section_iterator begin_sections() const = 0;
277 virtual section_iterator end_sections() const = 0;
/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 …]
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
Dllvm-objdump.cpp166 for (section_iterator i = Obj->begin_sections(), in DisassembleObject()
322 for (section_iterator si = o->begin_sections(), se = o->end_sections(); in PrintRelocations()
352 for (section_iterator si = o->begin_sections(), se = o->end_sections(); in PrintSectionHeaders()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h166 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation()
180 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
DRuntimeDyldMachOARM.h247 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation()
261 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
/external/swiftshader/third_party/LLVM/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp59 for (section_iterator i = Obj->begin_sections(), in DumpInput()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp422 Expected<section_iterator> SecOrErr = in darwinPrintSymbol()
429 section_iterator Sec = *SecOrErr; in darwinPrintSymbol()
811 Expected<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar()
816 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar()
856 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar()
861 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()

12