| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 48 using section_iterator = content_iterator<SectionRef>; variable 140 Expected<section_iterator> getRelocatedSection() const; 204 Expected<section_iterator> getSection() const; 258 virtual Expected<section_iterator> 285 virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const; 326 virtual section_iterator section_begin() const = 0; 327 virtual section_iterator section_end() const = 0; 329 using section_iterator_range = iterator_range<section_iterator>; 411 const section_iterator &Begin, in SectionFilterIterator() 412 const section_iterator &End) in SectionFilterIterator() [all …]
|
| H A D | ELFObjectFile.h | 156 class elf_section_iterator : public section_iterator { 158 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator() 163 return static_cast<const ELFSectionRef *>(section_iterator::operator->()); 167 return static_cast<const ELFSectionRef &>(section_iterator::operator*()); 318 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb, 320 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 341 Expected<section_iterator> 489 section_iterator section_begin() const override; 490 section_iterator section_end() const override; 581 Expected<section_iterator> SecOrErr = getSymbolSection(Sym); in getSymbolName() [all …]
|
| H A D | GOFFObjectFile.h | 52 section_iterator section_begin() const override; 53 section_iterator section_end() const override; 85 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
|
| H A D | Wasm.h | 181 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 210 section_iterator section_begin() const override; 211 section_iterator section_end() const override;
|
| H A D | MachO.h | 443 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 494 section_iterator getRelocationSection(DataRefImpl Rel) const; 504 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 518 section_iterator section_begin() const override; 519 section_iterator section_end() const override;
|
| H A D | XCOFFObjectFile.h | 607 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 638 section_iterator section_begin() const override; 639 section_iterator section_end() const override;
|
| /freebsd/contrib/llvm-project/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() 202 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections() 203 return wrap(new section_iterator(SI)); in LLVMGetSections() 222 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection()
|
| H A D | ObjectFile.cpp | 47 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol() 104 Expected<section_iterator> 106 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
|
| H A D | GOFFObjectFile.cpp | 336 Expected<section_iterator> 341 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 360 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 555 section_iterator GOFFObjectFile::section_begin() const { in section_begin() 558 return section_iterator(SectionRef(Sec, this)); in section_begin() 561 section_iterator GOFFObjectFile::section_end() const { in section_end() 563 return section_iterator(SectionRef(Sec, this)); in section_end()
|
| H A D | XCOFFObjectFile.cpp | 358 Expected<section_iterator> 369 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection() 711 section_iterator XCOFFObjectFile::section_begin() const { in section_begin() 714 return section_iterator(SectionRef(DRI, this)); in section_begin() 717 section_iterator XCOFFObjectFile::section_end() const { in section_end() 721 return section_iterator(SectionRef(DRI, this)); in section_end()
|
| H A D | WasmObjectFile.cpp | 1850 Expected<section_iterator> Sec = getSymbolSection(Symb); in getSymbolAddress() 1934 Expected<section_iterator> 1942 return section_iterator(SectionRef(Ref, this)); in getSymbolSection() 2097 section_iterator WasmObjectFile::section_begin() const { in section_begin() 2100 return section_iterator(SectionRef(Ref, this)); in section_begin() 2103 section_iterator WasmObjectFile::section_end() const { in section_end() 2106 return section_iterator(SectionRef(Ref, this)); in section_end()
|
| H A D | COFFObjectFile.cpp | 245 Expected<section_iterator> 255 return section_iterator(SectionRef(Ret, this)); in getSymbolSection() 1082 section_iterator COFFObjectFile::section_begin() const { in section_begin() 1085 return section_iterator(SectionRef(Ret, this)); in section_begin() 1088 section_iterator COFFObjectFile::section_end() const { in section_end() 1093 return section_iterator(SectionRef(Ret, this)); in section_end()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.cpp | 73 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA() 143 section_iterator SecI = O.getRelocationRelocatedSection(RI); in makeValueAddendPCRel() 161 section_iterator 164 section_iterator SI = Obj.section_begin(); in getSectionByAddress() 165 section_iterator SE = Obj.section_end(); in getSectionByAddress()
|
| H A D | RuntimeDyld.cpp | 322 section_iterator SI = Obj.section_end(); in loadObjectImpl() 364 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl() 368 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() 372 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl() 433 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl() 546 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize() 656 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize() 682 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize() 685 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize() 689 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
|
| H A D | RuntimeDyldMachO.h | 107 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
|
| H A D | RuntimeDyldELF.cpp | 921 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection() 924 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() 928 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection() 974 section_iterator TSI = Obj.section_end(); in findOPDEntrySection() 1654 section_iterator si = *SectionOrErr; in processRelocationRef() 2780 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad() 2783 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() 2788 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
|
| /freebsd/contrib/llvm-project/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 | 210 object::section_iterator SecI = *SectionOrError; in processRelocationRef()
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 451 section_iterator Sec = SectionRef(); in darwinPrintSymbol() 453 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() 661 section_iterator Sec = cantFail(Sym.getSection()); in printLineNumbers() 934 Expected<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar() 939 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar() 984 section_iterator SecIter = cantFail(I->getSection()); in getSymbolNMTypeChar() 1030 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() 1035 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar() 1724 Expected<section_iterator> SymSecOrErr = Sym.getSection(); in getXCOFFExports() 1732 section_iterator SecIter = *SymSecOrErr; in getXCOFFExports()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | SymbolizableObjectFile.cpp | 41 for (section_iterator Section : Obj->sections()) { in create() 154 Expected<section_iterator> Sec = Symbol.getSection(); in addSymbol()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 957 using section_iterator = variable 1010 nested_collection_iterator<section_iterator, Section::symbol_iterator, 1019 nested_collection_iterator<section_iterator, Section::block_iterator, 1366 iterator_range<section_iterator> sections() { in sections() 1368 section_iterator(Sections.begin(), GetSectionMapEntryValue()), in sections() 1369 section_iterator(Sections.end(), GetSectionMapEntryValue())); in sections()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | InputFile.h | 152 std::optional<object::section_iterator> SectionIter;
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 569 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation() 679 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol() 683 section_iterator SecI = *SecIOrErr; in printSymbol()
|