/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
H A D | Object.cpp | 32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap() 33 return reinterpret_cast<section_iterator*>(SI); in unwrap() 37 wrap(const section_iterator *SI) { in wrap() 39 (const_cast<section_iterator*>(SI)); in wrap() 154 return wrap(new section_iterator(sections.begin())); in LLVMObjectFileCopySectionIterator() 200 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections() 201 return wrap(new section_iterator(SI)); in LLVMGetSections() 220 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection()
|
H A D | ObjectFile.cpp | 48 Expected<section_iterator> SymSec = S.getSection(); in containsSymbol() 101 Expected<section_iterator> 103 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
|
H A D | XCOFFObjectFile.cpp | 223 Expected<section_iterator> 235 return section_iterator(SectionRef(ExpSec.get(), this)); in getSymbolSection() 421 section_iterator XCOFFObjectFile::section_begin() const { in section_begin() 424 return section_iterator(SectionRef(DRI, this)); in section_begin() 427 section_iterator XCOFFObjectFile::section_end() const { in section_end() 431 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() 915 section_iterator COFFObjectFile::section_begin() const { in section_begin() 918 return section_iterator(SectionRef(Ret, this)); in section_begin() 921 section_iterator COFFObjectFile::section_end() const { in section_end() 926 return section_iterator(SectionRef(Ret, this)); in section_end()
|
H A D | MachOObjectFile.cpp | 1835 Expected<section_iterator> SecOrError = getSymbolSection(Symb); in getSymbolType() 1838 section_iterator Sec = *SecOrError; in getSymbolType() 1887 Expected<section_iterator> 1900 return section_iterator(SectionRef(DRI, this)); in getSymbolSection() 2160 section_iterator 2162 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection() 2485 section_iterator 2489 return section_iterator(SectionRef(Sec, this)); in getRelocationRelocatedSection() 2540 section_iterator MachOObjectFile::section_begin() const { in section_begin() 2542 return section_iterator(SectionRef(DRI, this)); in section_begin() [all …]
|
H A D | WasmObjectFile.cpp | 1577 Expected<section_iterator> 1585 return section_iterator(SectionRef(Ref, this)); in getSymbolSection() 1736 section_iterator WasmObjectFile::section_begin() const { in section_begin() 1739 return section_iterator(SectionRef(Ref, this)); in section_begin() 1742 section_iterator WasmObjectFile::section_end() const { in section_end() 1745 return section_iterator(SectionRef(Ref, this)); in section_end()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
H A D | ObjectFile.h | 47 using section_iterator = content_iterator<SectionRef>; variable 135 Expected<section_iterator> getRelocatedSection() const; 199 Expected<section_iterator> getSection() const; 253 virtual Expected<section_iterator> 280 virtual Expected<section_iterator> getRelocatedSection(DataRefImpl Sec) const; 315 virtual section_iterator section_begin() const = 0; 316 virtual section_iterator section_end() const = 0; 318 using section_iterator_range = iterator_range<section_iterator>; 406 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection() 519 inline Expected<section_iterator> SectionRef::getRelocatedSection() const { in getRelocatedSection()
|
H A D | ELFObjectFile.h | 124 class elf_section_iterator : public section_iterator { 126 elf_section_iterator(const section_iterator &B) : section_iterator(B) { in elf_section_iterator() 131 return static_cast<const ELFSectionRef *>(section_iterator::operator->()); 135 return static_cast<const ELFSectionRef &>(section_iterator::operator*()); 273 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb, 275 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 296 Expected<section_iterator> 424 section_iterator section_begin() const override; 425 section_iterator section_end() const override; 510 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName() [all …]
|
H A D | MachO.h | 291 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 338 section_iterator getRelocationSection(DataRefImpl Rel) const; 348 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 360 section_iterator section_begin() const override; 361 section_iterator section_end() const override;
|
H A D | Wasm.h | 176 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 204 section_iterator section_begin() const override; 205 section_iterator section_end() const override;
|
H A D | XCOFFObjectFile.h | 283 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 313 section_iterator section_begin() const override; 314 section_iterator section_end() const override;
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.h | 74 llvm::object::section_iterator const &I, in SectionFilterIterator() 75 llvm::object::section_iterator const &E) in SectionFilterIterator() 96 llvm::object::section_iterator Iterator; 97 llvm::object::section_iterator End;
|
/netbsd-src/external/apache2/llvm/dist/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 | 319 section_iterator SI = Obj.section_end(); in loadObjectImpl() 358 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl() 362 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() 366 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl() 427 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl() 539 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeTotalAllocSize() 644 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeGOTSize() 670 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in computeSectionStubBufSize() 673 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize() 677 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
|
H A D | RuntimeDyldMachO.h | 112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj,
|
H A D | RuntimeDyldELF.cpp | 672 for (section_iterator si = Obj.section_begin(), se = Obj.section_end(); in findOPDEntrySection() 675 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() 679 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection() 725 section_iterator TSI = Obj.section_end(); in findOPDEntrySection() 1234 section_iterator si = *SectionOrErr; in processRelocationRef() 1947 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in finalizeLoad() 1950 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() 1955 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
H A D | ProfiledBinary.cpp | 176 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in setPreferredBaseAddress() 189 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in decodePseudoProbe() 362 section_iterator SecI = unwrapOrError(Symbol.getSection(), FileName); in disassemble() 375 for (section_iterator SI = Obj->section_begin(), SE = Obj->section_end(); in disassemble()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cxxdump/ |
H A D | llvm-cxxdump.cpp | 177 Expected<section_iterator> ErrOrSec = Section.getRelocatedSection(); in dumpCXXData() 181 section_iterator Sec2 = *ErrOrSec; in dumpCXXData() 197 Expected<object::section_iterator> SecIOrErr = Sym.getSection(); in dumpCXXData() 199 object::section_iterator SecI = *SecIOrErr; in dumpCXXData()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldMachOI386.h | 168 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation() 182 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
|
H A D | RuntimeDyldMachOARM.h | 379 section_iterator SAI = getSectionByAddress(MachO, AddrA); in processHALFSECTDIFFRelocation() 393 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
H A D | InputFile.h | 148 Optional<object::section_iterator> SectionIter;
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
H A D | MachODebugMapParser.cpp | 548 section_iterator Section = MainBinary.section_end(); in loadMainBinarySymbols() 571 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 766 using section_iterator = pointee_iterator<SectionList::iterator>; variable 1015 iterator_range<section_iterator> sections() { in sections() 1016 return make_range(section_iterator(Sections.begin()), in sections() 1017 section_iterator(Sections.end())); in sections()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 560 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation() 635 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol() 639 section_iterator SecI = *SecIOrErr; in printSymbol()
|