reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

include/llvm/Object/ELFObjectFile.h
  121 class elf_section_iterator : public section_iterator {

References

include/llvm/Object/COFF.h
  901   Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
  930   section_iterator section_begin() const override;
  931   section_iterator section_end() const override;
include/llvm/Object/ELFObjectFile.h
  121 class elf_section_iterator : public section_iterator {
  123   elf_section_iterator(const section_iterator &B) : section_iterator(B) {
  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)) {
  663 Expected<section_iterator>
  680 Expected<section_iterator>
  845 Expected<section_iterator>
 1033 section_iterator ELFObjectFile<ELFT>::section_begin() const {
 1041 section_iterator ELFObjectFile<ELFT>::section_end() const {
include/llvm/Object/MachO.h
  291   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;
include/llvm/Object/ObjectFile.h
  133   Expected<section_iterator> getRelocatedSection() const;
  195   Expected<section_iterator> getSection() const;
  249   virtual Expected<section_iterator>
  275   virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const;
  306   virtual section_iterator section_begin() const = 0;
  307   virtual section_iterator section_end() const = 0;
  309   using section_iterator_range = iterator_range<section_iterator>;
  395 inline Expected<section_iterator> SymbolRef::getSection() const {
  504 inline Expected<section_iterator> SectionRef::getRelocatedSection() const {
include/llvm/Object/Wasm.h
  170   Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
  198   section_iterator section_begin() const override;
  199   section_iterator section_end() const override;
include/llvm/Object/XCOFFObjectFile.h
  246   Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
  272   section_iterator section_begin() const override;
  273   section_iterator section_end() const override;
lib/DebugInfo/DWARF/DWARFContext.cpp
 1292   object::section_iterator RSec = Obj.section_end();
 1530       Expected<section_iterator> SecOrErr = Section.getRelocatedSection();
 1542       section_iterator RelocatedSection = *SecOrErr;
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
   56     for (section_iterator Section : Obj->sections()) {
  166   Expected<section_iterator> Sec = Symbol.getSection();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  310       section_iterator SI = Obj.section_end();
  348   for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
  352     Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection();
  356     section_iterator RelocatedSection = *RelSecOrErr;
  417     for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
  529   for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
  631   for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
  653   for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
  656     Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection();
  660     section_iterator RelSecI = *RelSecOrErr;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  607   for (section_iterator si = Obj.section_begin(), se = Obj.section_end();
  610     Expected<section_iterator> RelSecOrErr = si->getRelocatedSection();
  614     section_iterator RelSecI = *RelSecOrErr;
  660       section_iterator TSI = Obj.section_end();
 1168       section_iterator si = *SectionOrErr;
 1876       for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end();
 1879           Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection();
 1884           section_iterator RelocatedSection = *RelSecOrErr;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
   74   section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr);
  144   section_iterator SecI = O.getRelocationRelocatedSection(RI);
  162 section_iterator
  165   section_iterator SI = Obj.section_begin();
  166   section_iterator SE = Obj.section_end();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
  112   static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
   26                         object::section_iterator Section) {
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h
  203     object::section_iterator SecI = *SectionOrError;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
  379     section_iterator SAI = getSectionByAddress(MachO, AddrA);
  393     section_iterator SBI = getSectionByAddress(MachO, AddrB);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
  168     section_iterator SAI = getSectionByAddress(Obj, AddrA);
  182     section_iterator SBI = getSectionByAddress(Obj, AddrB);
lib/Object/COFFObjectFile.cpp
  248 Expected<section_iterator>
  857 section_iterator COFFObjectFile::section_begin() const {
  863 section_iterator COFFObjectFile::section_end() const {
lib/Object/MachOObjectFile.cpp
 1828       Expected<section_iterator> SecOrError = getSymbolSection(Symb);
 1831       section_iterator Sec = *SecOrError;
 1878 Expected<section_iterator>
 2144 section_iterator
 2469 section_iterator
 2524 section_iterator MachOObjectFile::section_begin() const {
 2529 section_iterator MachOObjectFile::section_end() const {
lib/Object/Object.cpp
   32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) {
   37 wrap(const section_iterator *SI) {
  154   return wrap(new section_iterator(sections.begin()));
  200   section_iterator SI = OB->getBinary()->section_begin();
  201   return wrap(new section_iterator(SI));
  220   Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection();
lib/Object/ObjectFile.cpp
   41   Expected<section_iterator> SymSec = S.getSection();
   87 Expected<section_iterator>
lib/Object/WasmObjectFile.cpp
 1358 Expected<section_iterator>
 1513 section_iterator WasmObjectFile::section_begin() const {
 1519 section_iterator WasmObjectFile::section_end() const {
lib/Object/XCOFFObjectFile.cpp
  201 Expected<section_iterator>
  348 section_iterator XCOFFObjectFile::section_begin() const {
  354 section_iterator XCOFFObjectFile::section_end() const {
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  402   section_iterator CurrentSection;
  403   section_iterator NextSection;
tools/dsymutil/MachODebugMapParser.cpp
  532   section_iterator Section = MainBinary.section_end();
  555     Expected<section_iterator> SectionOrErr = Sym.getSection();
tools/llvm-cxxdump/llvm-cxxdump.cpp
  177     Expected<section_iterator> ErrOrSec = Section.getRelocatedSection();
  181     section_iterator Sec2 = *ErrOrSec;
  197     Expected<object::section_iterator> SecIOrErr = Sym.getSection();
  199     object::section_iterator SecI = *SecIOrErr;
tools/llvm-nm/llvm-nm.cpp
  504     section_iterator Sec = SectionRef();
  506       Expected<section_iterator> SecOrErr =
  955     Expected<section_iterator> SecIOrErr = SymI->getSection();
  960     section_iterator SecI = *SecIOrErr;
 1015     Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb);
 1020     section_iterator Sec = *SecOrErr;
tools/llvm-objdump/COFFDump.cpp
  166   Expected<section_iterator> Iter = Sym.getSection();
tools/llvm-objdump/ELFDump.cpp
   87       Expected<section_iterator> SymSI = SI->getSection();
tools/llvm-objdump/MachODump.cpp
  476     section_iterator SI = O->section_begin();
 7845   section_iterator SymSection =
 8215     section_iterator Section = *SectOrErr;
tools/llvm-objdump/llvm-objdump.cpp
  921     section_iterator SecI =
 1000     Expected<section_iterator> RelocatedOrErr = Sec.getRelocatedSection();
 1007     section_iterator Relocated = *RelocatedOrErr;
 1151     section_iterator SecI = unwrapOrError(Symbol.getSection(), FileName);
 1503               Expected<section_iterator> SymSI =
 1624     Expected<section_iterator> SecOrErr = Section.getRelocatedSection();
 1816     section_iterator Section = unwrapOrError(Symbol.getSection(), FileName,
tools/llvm-objdump/llvm-objdump.h
   39                         llvm::object::section_iterator const &I,
   40                         llvm::object::section_iterator const &E)
   61   llvm::object::section_iterator Iterator;
   62   llvm::object::section_iterator End;
tools/llvm-pdbutil/InputFile.h
  148   Optional<object::section_iterator> SectionIter;
tools/llvm-readobj/ARMWinEHPrinter.cpp
  988     Expected<section_iterator> SIOrErr = XDataRecord->getSection();
  994     section_iterator SI = *SIOrErr;
tools/llvm-readobj/ELFDumper.cpp
 4897     Expected<section_iterator> RelSecOrErr = Sec.getRelocatedSection();
tools/llvm-readobj/MachODumper.cpp
  563     section_iterator SecI = Obj->getRelocationSection(DR);
  632   Expected<section_iterator> SecIOrErr = Symbol.getSection();
  636   section_iterator SecI = *SecIOrErr;
tools/llvm-readobj/Win64EHDumper.cpp
  155   Expected<section_iterator> SI = Symbol.getSection();
tools/llvm-rtdyld/llvm-rtdyld.cpp
  458           object::section_iterator Sec = *SecOrErr;