| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | Object.cpp | 33 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()
|
| H A D | ObjectFile.cpp | 47 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol() 99 Expected<section_iterator> 101 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
|
| H A D | XCOFFObjectFile.cpp | 316 Expected<section_iterator> 327 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection() 644 section_iterator XCOFFObjectFile::section_begin() const { in section_begin() 647 return section_iterator(SectionRef(DRI, this)); in section_begin() 650 section_iterator XCOFFObjectFile::section_end() const { in section_end() 654 return section_iterator(SectionRef(DRI, this)); in section_end()
|
| H A D | COFFObjectFile.cpp | 246 Expected<section_iterator> 256 return section_iterator(SectionRef(Ret, this)); in getSymbolSection() 981 section_iterator COFFObjectFile::section_begin() const { in section_begin() 984 return section_iterator(SectionRef(Ret, this)); in section_begin() 987 section_iterator COFFObjectFile::section_end() const { in section_end() 992 return section_iterator(SectionRef(Ret, this)); in section_end()
|
| H A D | WasmObjectFile.cpp | 1681 Expected<section_iterator> 1689 return section_iterator(SectionRef(Ref, this)); in getSymbolSection() 1822 section_iterator WasmObjectFile::section_begin() const { in section_begin() 1825 return section_iterator(SectionRef(Ref, this)); in section_begin() 1828 section_iterator WasmObjectFile::section_end() const { in section_end() 1831 return section_iterator(SectionRef(Ref, this)); in section_end()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 47 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>; 419 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection() 532 inline Expected<section_iterator> SectionRef::getRelocatedSection() const { in getRelocatedSection()
|
| H A D | ELFObjectFile.h | 136 class elf_section_iterator : public section_iterator { 138 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator() 308 Expected<section_iterator> 437 section_iterator section_begin() const override; 438 section_iterator section_end() const override; 783 Expected<section_iterator> 806 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 810 Expected<section_iterator> 993 Expected<section_iterator> 1160 return section_iterator(SectionRef()); in section_begin() [all …]
|
| H A D | Wasm.h | 173 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 201 section_iterator section_begin() const override; 202 section_iterator section_end() const override;
|
| H A D | MachO.h | 412 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 462 section_iterator getRelocationSection(DataRefImpl Rel) const; 472 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 484 section_iterator section_begin() const override; 485 section_iterator section_end() const override;
|
| H A D | XCOFFObjectFile.h | 508 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 539 section_iterator section_begin() const override; 540 section_iterator section_end() const override;
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.h | 67 llvm::object::section_iterator const &I, in SectionFilterIterator() 68 llvm::object::section_iterator const &E) in SectionFilterIterator() 89 llvm::object::section_iterator Iterator; 90 llvm::object::section_iterator End;
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.cpp | 74 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()
|
| H A D | RuntimeDyld.cpp | 321 section_iterator SI = Obj.section_end(); in loadObjectImpl() 360 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl() 364 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() 368 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl() 429 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl() 548 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize() 654 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize() 680 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize() 683 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize() 687 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
|
| H A D | RuntimeDyldMachO.h | 112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
|
| H A D | RuntimeDyldELF.cpp | 707 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection() 710 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() 714 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection() 760 section_iterator TSI = Obj.section_end(); in findOPDEntrySection() 1270 section_iterator si = *SectionOrErr; in processRelocationRef() 2319 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad() 2322 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() 2327 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ProfiledBinary.cpp | 337 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in checkPseudoProbe() 362 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in decodePseudoProbe() 576 section_iterator SecI = unwrapOrError(Symbol.getSection(), FileName); in disassemble() 595 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in disassemble() 644 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in checkUseFSDiscriminator()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldMachOI386.h | 167 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation() 181 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
|
| H A D | RuntimeDyldMachOARM.h | 378 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation() 392 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
|
| H A D | RuntimeDyldCOFFX86_64.h | 203 object::section_iterator SecI = *SectionOrError; in processRelocationRef()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxdump/ |
| H A D | llvm-cxxdump.cpp | 178 Expected<section_iterator> ErrOrSec = Section.getRelocatedSection(); in dumpCXXData() 182 section_iterator Sec2 = *ErrOrSec; in dumpCXXData() 198 Expected<object::section_iterator> SecIOrErr = Sym.getSection(); in dumpCXXData() 200 object::section_iterator SecI = *SecIOrErr; in dumpCXXData()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/ |
| H A D | SymbolizableObjectFile.cpp | 42 for (section_iterator Section : Obj->sections()) { in create() 155 Expected<section_iterator> Sec = Symbol.getSection(); in addSymbol()
|
| /llvm-project-15.0.7/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 464 section_iterator Sec = SectionRef(); in darwinPrintSymbol() 466 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() 914 Expected<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar() 919 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar() 964 section_iterator SecIter = cantFail(I->getSection()); in getSymbolNMTypeChar() 1010 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() 1015 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar() 1694 Expected<section_iterator> SymSecOrErr = Sym.getSection(); in getXCOFFExports() 1702 section_iterator SecIter = *SymSecOrErr; in getXCOFFExports()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachODebugMapParser.cpp | 571 section_iterator Section = MainBinary.section_end(); in loadMainBinarySymbols() 595 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | InputFile.h | 152 Optional<object::section_iterator> SectionIter;
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 571 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation() 679 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol() 683 section_iterator SecI = *SecIOrErr; in printSymbol()
|