Home
last modified time | relevance | path

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

12

/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()
81 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
82 return wrap(new section_iterator(SI)); in LLVMGetSections()
101 ErrorOr<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection()
DObjectFile.cpp32 ErrorOr<section_iterator> SymSec = S.getSection(); in containsSymbol()
58 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
59 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
DMachOObjectFile.cpp404 section_iterator Sec = *getSymbolSection(Symb); in getSymbolType()
451 ErrorOr<section_iterator>
462 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
635 section_iterator
637 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection()
937 section_iterator
941 return section_iterator(SectionRef(Sec, this)); in getRelocationRelocatedSection()
978 section_iterator MachOObjectFile::section_begin() const { in section_begin()
980 return section_iterator(SectionRef(DRI, this)); in section_begin()
983 section_iterator MachOObjectFile::section_end() const { in section_end()
[all …]
DCOFFObjectFile.cpp238 ErrorOr<section_iterator>
248 return section_iterator(SectionRef(Ret, this)); in getSymbolSection()
727 section_iterator COFFObjectFile::section_begin() const { in section_begin()
730 return section_iterator(SectionRef(Ret, this)); in section_begin()
733 section_iterator COFFObjectFile::section_end() const { in section_end()
738 return section_iterator(SectionRef(Ret, this)); in section_end()
/external/llvm/include/llvm/Object/
DObjectFile.h36 typedef content_iterator<SectionRef> section_iterator; typedef
105 section_iterator getRelocatedSection() const;
149 ErrorOr<section_iterator> getSection() const;
204 virtual ErrorOr<section_iterator>
224 virtual section_iterator getRelocatedSection(DataRefImpl Sec) const;
248 virtual section_iterator section_begin() const = 0;
249 virtual section_iterator section_end() const = 0;
251 typedef iterator_range<section_iterator> section_iterator_range;
325 inline ErrorOr<section_iterator> SymbolRef::getSection() const { in getSection()
405 inline section_iterator SectionRef::getRelocatedSection() const { in getRelocatedSection()
DELFObjectFile.h87 class elf_section_iterator : public section_iterator {
89 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator()
94 return static_cast<const ELFSectionRef *>(section_iterator::operator->());
98 return static_cast<const ELFSectionRef &>(section_iterator::operator*());
209 ErrorOr<section_iterator> getSymbolSection(const Elf_Sym *Symb,
211 ErrorOr<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
227 section_iterator getRelocatedSection(DataRefImpl Sec) const override;
319 section_iterator section_begin() const override;
320 section_iterator section_end() const override;
514 ErrorOr<section_iterator>
[all …]
DMachO.h213 ErrorOr<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
235 section_iterator getRelocationSection(DataRefImpl Rel) const;
244 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
255 section_iterator section_begin() const override;
256 section_iterator section_end() const override;
DCOFF.h656 ErrorOr<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
683 section_iterator section_begin() const override;
684 section_iterator section_end() const override;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp72 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
131 section_iterator SecI = O.getRelocationRelocatedSection(RI); in makeValueAddendPCRel()
149 section_iterator
152 section_iterator SI = Obj.section_begin(); in getSectionByAddress()
153 section_iterator SE = Obj.section_end(); in getSectionByAddress()
DRuntimeDyld.cpp201 ErrorOr<section_iterator> SIOrErr = I->getSection(); in loadObjectImpl()
203 section_iterator SI = *SIOrErr; in loadObjectImpl()
227 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
231 section_iterator RelocatedSection = SI->getRelocatedSection(); in loadObjectImpl()
348 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize()
429 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize()
431 section_iterator RelSecI = SI->getRelocatedSection(); in computeSectionStubBufSize()
DRuntimeDyldMachO.h111 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
DRuntimeDyldELF.cpp822 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection()
824 section_iterator RelSecI = si->getRelocatedSection(); in findOPDEntrySection()
865 ErrorOr<section_iterator> TSIOrErr = TargetSymbol->getSection(); in findOPDEntrySection()
867 section_iterator tsi = *TSIOrErr; in findOPDEntrySection()
1206 section_iterator si = *Symbol->getSection(); in processRelocationRef()
1821 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad()
1824 section_iterator RelocatedSection = SI->getRelocatedSection(); in finalizeLoad()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp187 llvm::object::section_iterator const &I, in SectionFilterIterator()
188 llvm::object::section_iterator const &E) in SectionFilterIterator()
209 llvm::object::section_iterator Iterator;
210 llvm::object::section_iterator End;
426 ErrorOr<section_iterator> SymSI = SI->getSection(); in getRelocationValueString()
573 section_iterator SI = O->section_begin(); in printRelocationTargetName()
861 section_iterator Sec2 = Section.getRelocatedSection(); in DisassembleObject()
880 ErrorOr<section_iterator> SectionOrErr = Symbol.getSection(); in DisassembleObject()
882 section_iterator SecI = *SectionOrErr; in DisassembleObject()
1263 ErrorOr<section_iterator> SectionOrErr = Symbol.getSection(); in PrintSymbolTable()
[all …]
DCOFFDump.cpp168 ErrorOr<section_iterator> Iter = Sym.getSection(); in resolveSectionAndAddress()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h150 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation()
160 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
DRuntimeDyldMachOARM.h234 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation()
244 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
DRuntimeDyldCOFFX86_64.h119 section_iterator SecI = *Symbol->getSection(); in processRelocationRef()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp165 section_iterator Sec2 = Section.getRelocatedSection(); in dumpCXXData()
181 ErrorOr<object::section_iterator> SecIOrErr = Sym.getSection(); in dumpCXXData()
183 object::section_iterator SecI = *SecIOrErr; in dumpCXXData()
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp436 section_iterator Section = MainBinary.section_end(); in loadMainBinarySymbols()
449 ErrorOr<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp370 section_iterator Sec = *MachO->getSymbolSection(I->Sym.getRawDataRefImpl()); in darwinPrintSymbol()
724 ErrorOr<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar()
727 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar()
775 section_iterator Sec = *Obj.getSymbolSection(Symb); in getSymbolNMTypeChar()
864 for (section_iterator I = Obj->section_begin(), E = Obj->section_end(); in getNsectForSegSect()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp548 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation()
614 ErrorOr<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol()
616 section_iterator SecI = *SecIOrErr; in printSymbol()
DWin64EHDumper.cpp152 ErrorOr<section_iterator> SI = Symbol.getSection(); in resolveRelocation()
DARMWinEHPrinter.cpp633 ErrorOr<section_iterator> SIOrErr = XDataRecord->getSection(); in dumpUnpackedEntry()
636 section_iterator SI = *SIOrErr; in dumpUnpackedEntry()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp40 for (section_iterator Section : Obj->sections()) { in create()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp610 section_iterator RelocatedSection = Section.getRelocatedSection(); in DWARFContextInMemory()
737 object::section_iterator RSec = Obj.section_end(); in DWARFContextInMemory()

12