/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ObjectFile.h | 47 using section_iterator = content_iterator<SectionRef>; variable 139 Expected<section_iterator> getRelocatedSection() const; 203 Expected<section_iterator> getSection() const; 257 virtual Expected<section_iterator> 284 virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const; 325 virtual section_iterator section_begin() const = 0; 326 virtual section_iterator section_end() const = 0; 328 using section_iterator_range = iterator_range<section_iterator>; 410 const section_iterator &Begin, in SectionFilterIterator() 411 const section_iterator &End) in SectionFilterIterator() [all …]
|
H A D | ELFObjectFile.h | 153 class elf_section_iterator : public section_iterator { 155 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator() 160 return static_cast<const ELFSectionRef *>(section_iterator::operator->()); 164 return static_cast<const ELFSectionRef &>(section_iterator::operator*()); 315 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb, 317 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 338 Expected<section_iterator> 483 section_iterator section_begin() const override; 484 section_iterator section_end() const override; 575 Expected<section_iterator> SecOrErr = getSymbolSection(Sym); in getSymbolName() [all …]
|
H A D | GOFFObjectFile.h | 51 section_iterator section_begin() const override; 52 section_iterator section_end() const override; 84 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
|
H A D | Wasm.h | 180 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 209 section_iterator section_begin() const override; 210 section_iterator section_end() const override;
|
H A D | MachO.h | 438 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 489 section_iterator getRelocationSection(DataRefImpl Rel) const; 499 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 513 section_iterator section_begin() const override; 514 section_iterator section_end() const override;
|
H A D | XCOFFObjectFile.h | 600 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 631 section_iterator section_begin() const override; 632 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() 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() 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() 554 section_iterator GOFFObjectFile::section_begin() const { in section_begin() 557 return section_iterator(SectionRef(Sec, this)); in section_begin() 560 section_iterator GOFFObjectFile::section_end() const { in section_end() 562 return section_iterator(SectionRef(Sec, this)); in section_end()
|
H A D | XCOFFObjectFile.cpp | 357 Expected<section_iterator> 368 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection() 706 section_iterator XCOFFObjectFile::section_begin() const { in section_begin() 709 return section_iterator(SectionRef(DRI, this)); in section_begin() 712 section_iterator XCOFFObjectFile::section_end() const { in section_end() 716 return section_iterator(SectionRef(DRI, this)); in section_end()
|
H A D | COFFObjectFile.cpp | 245 Expected<section_iterator> 255 return section_iterator(SectionRef(Ret, this)); in getSymbolSection() 1028 section_iterator COFFObjectFile::section_begin() const { in section_begin() 1031 return section_iterator(SectionRef(Ret, this)); in section_begin() 1034 section_iterator COFFObjectFile::section_end() const { in section_end() 1039 return section_iterator(SectionRef(Ret, this)); in section_end()
|
H A D | WasmObjectFile.cpp | 1829 Expected<section_iterator> Sec = getSymbolSection(Symb); in getSymbolAddress() 1913 Expected<section_iterator> 1921 return section_iterator(SectionRef(Ref, this)); in getSymbolSection() 2076 section_iterator WasmObjectFile::section_begin() const { in section_begin() 2079 return section_iterator(SectionRef(Ref, this)); in section_begin() 2082 section_iterator WasmObjectFile::section_end() const { in section_end() 2085 return section_iterator(SectionRef(Ref, this)); in section_end()
|
/freebsd/contrib/llvm-project/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 | 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 | 112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
|
H A D | RuntimeDyldELF.cpp | 711 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection() 714 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() 718 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection() 764 section_iterator TSI = Obj.section_end(); in findOPDEntrySection() 1282 section_iterator si = *SectionOrErr; in processRelocationRef() 2383 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad() 2386 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() 2391 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 | 449 section_iterator Sec = SectionRef(); in darwinPrintSymbol() 451 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() 659 section_iterator Sec = cantFail(Sym.getSection()); in printLineNumbers() 932 Expected<section_iterator> SecIOrErr = SymI->getSection(); in getSymbolNMTypeChar() 937 section_iterator SecI = *SecIOrErr; in getSymbolNMTypeChar() 982 section_iterator SecIter = cantFail(I->getSection()); in getSymbolNMTypeChar() 1028 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() 1033 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar() 1722 Expected<section_iterator> SymSecOrErr = Sym.getSection(); in getXCOFFExports() 1730 section_iterator SecIter = *SymSecOrErr; in getXCOFFExports()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 927 using section_iterator = variable 980 nested_collection_iterator<section_iterator, Section::symbol_iterator, 989 nested_collection_iterator<section_iterator, Section::block_iterator, 1263 iterator_range<section_iterator> sections() { in sections() 1265 section_iterator(Sections.begin(), GetSectionMapEntryValue()), in sections() 1266 section_iterator(Sections.end(), GetSectionMapEntryValue())); in sections()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | InputFile.h | 151 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()
|