Home
last modified time | relevance | path

Searched refs:SectionRef (Results 1 – 25 of 31) sorted by relevance

12

/minix3/external/bsd/llvm/dist/llvm/include/llvm/Object/
H A DObjectFile.h79 class SectionRef; variable
80 typedef content_iterator<SectionRef> section_iterator;
81 class SectionRef {
87 SectionRef() : OwningObject(nullptr) { } in SectionRef() function
89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
91 bool operator==(const SectionRef &Other) const;
92 bool operator!=(const SectionRef &Other) const;
93 bool operator<(const SectionRef &Other) const;
127 friend class SectionRef; variable
222 friend class SectionRef; variable
[all …]
H A DELFObjectFile.h51 virtual uint64_t getSectionFlags(SectionRef Sec) const = 0;
52 virtual uint32_t getSectionType(SectionRef Sec) const = 0;
204 uint64_t getSectionFlags(SectionRef Sec) const override;
205 uint32_t getSectionType(SectionRef Sec) const override;
268 uint64_t ELFObjectFile<ELFT>::getSectionFlags(SectionRef Sec) const { in getSectionFlags()
274 uint32_t ELFObjectFile<ELFT>::getSectionType(SectionRef Sec) const { in getSectionType()
406 Res = section_iterator(SectionRef(Sec, this)); in getSymbolSection()
522 return section_iterator(SectionRef(toDRI(R), this)); in getRelocatedSection()
804 return section_iterator(SectionRef(toDRI(EF.begin_sections()), this)); in section_begin()
809 return section_iterator(SectionRef(toDRI(EF.end_sections()), this)); in section_end()
H A DMachO.h203 unsigned getSectionType(SectionRef Sec) const;
329 SectionRef getRelocationSection(const MachO::any_relocation_info &RE) const;
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h83 ErrorOr<object::SectionRef>
92 const object::SectionRef &Section, uint64_t Offset);
95 const object::SectionRef &Section,
98 const object::SectionRef Section, uint64_t Offset,
101 const object::SectionRef Section, uint64_t Offset,
104 const object::SectionRef Section, unsigned Entry,
107 const object::SectionRef Section);
H A DARMWinEHPrinter.cpp186 ErrorOr<object::SectionRef>
219 const SectionRef &Section, in getRelocatedSymbol()
517 const SectionRef &Section, in dumpXDataRecord()
590 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
644 ErrorOr<SectionRef> Section = in dumpUnpackedEntry()
655 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
692 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
706 const SectionRef Section) { in dumpProcedureData()
H A DCOFFDumper.cpp66 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
74 void printCodeViewLineTables(const SectionRef &Section);
77 const SectionRef &Section,
341 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
472 void COFFDumper::printCodeViewLineTables(const SectionRef &Section) { in printCodeViewLineTables()
635 const SectionRef &Section, in printCodeViewSymbolsSubsection()
711 for (const SectionRef &Sec : Obj->sections()) { in printSections()
768 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
792 void COFFDumper::printRelocation(const SectionRef &Section, in printRelocation()
1087 for (const SectionRef &Section : Obj->sections()) { in printCOFFDirectives()
H A DMachODumper.cpp393 for (const SectionRef &Section : Obj->sections()) { in printSections()
458 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-vtabledump/
H A Dllvm-vtabledump.cpp71 static SmallVectorImpl<SectionRef> &getRelocSections(const ObjectFile *Obj, in getRelocSections()
72 const SectionRef &Sec) { in getRelocSections()
74 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; in getRelocSections()
76 for (const SectionRef &Section : Obj->sections()) { in getRelocSections()
87 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
92 for (const SectionRef &SR : getRelocSections(Obj, Sec)) { in collectRelocatedSymbols()
115 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
120 for (const SectionRef &SR : getRelocSections(Obj, Sec)) { in collectRelocationOffsets()
181 const SectionRef &Sec = *SecI; in dumpVTables()
/minix3/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h115 const SectionRef &Section) { in finalizeSection()
155 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
165 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
210 SectionRef TargetSection = *TargetSI; in processI386ScatteredVANILLA()
224 void populateJumpTable(const MachOObjectFile &Obj, const SectionRef &JTSection, in populateJumpTable()
H A DRuntimeDyldMachOARM.h159 const SectionRef &Section) { in finalizeSection()
235 SectionRef SectionA = *SAI; in processHALFSECTDIFFRelocation()
245 SectionRef SectionB = *SBI; in processHALFSECTDIFFRelocation()
H A DRuntimeDyldMachOX86_64.h102 const SectionRef &Section) {} in finalizeSection()
/minix3/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h179 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
298 unsigned emitSection(const ObjectFile &Obj, const SectionRef &Section,
306 unsigned findOrEmitSection(const ObjectFile &Obj, const SectionRef &Section,
351 const SectionRef &Section);
H A DRuntimeDyld.cpp266 static bool isRequiredForExecution(const SectionRef &Section) { in isRequiredForExecution()
274 static bool isReadOnlyData(const SectionRef &Section) { in isReadOnlyData()
283 static bool isZeroInit(const SectionRef &Section) { in isZeroInit()
310 const SectionRef &Section = *SI; in computeTotalAllocSize()
380 const SectionRef &Section) { in computeSectionStubBufSize()
483 const SectionRef &Section, bool IsCode) { in emitSection()
567 const SectionRef &Section, in findOrEmitSection()
H A DRuntimeDyldMachO.h111 const SectionRef &PTSection,
H A DRuntimeDyldMachO.cpp77 SectionRef Sec = Obj.getRelocationSection(RelInfo); in getRelocationValueRef()
138 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp303 std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; in DisassembleObject()
304 for (const SectionRef &Section : Obj->sections()) { in DisassembleObject()
310 for (const SectionRef &Section : Obj->sections()) { in DisassembleObject()
345 for (const SectionRef &RelocSec : SectionRelocMap[Section]) { in DisassembleObject()
464 for (const SectionRef &Section : Obj->sections()) { in PrintRelocations()
497 for (const SectionRef &Section : Obj->sections()) { in PrintSectionHeaders()
516 for (const SectionRef &Section : Obj->sections()) { in PrintSectionContents()
H A DMachODump.cpp214 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
225 for (const SectionRef &Section : MachOObj->sections()) { in getSectionsAndSymbols()
703 SectionRef S;
705 std::vector<SectionRef> *Sections;
1433 SectionRef &S, DisassembleInfo *info) { in get_pointer_64()
1436 S = SectionRef(); in get_pointer_64()
1455 const char *get_symbol_64(uint32_t sect_offset, SectionRef S, in get_symbol_64()
1595 SectionRef S; in get_objc2_64bit_class_name()
1645 SectionRef S; in get_objc2_64bit_cfstring_name()
1678 SectionRef S; in get_objc2_64bit_selref()
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-cov/
H A DTestingSupport.cpp52 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/
H A DDWARFContext.h170 typedef MapVector<object::SectionRef, DWARFSection,
171 std::map<object::SectionRef, unsigned>> TypeSectionMap;
/minix3/external/bsd/llvm/dist/llvm/lib/Object/
H A DObjectFile.cpp47 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DCOFFObjectFile.cpp310 Result = section_iterator(SectionRef(Ref, this)); in getSymbolSection()
480 for (const SectionRef &S : sections()) { in getRvaPtr()
770 return section_iterator(SectionRef(Ret, this)); in section_begin()
778 return section_iterator(SectionRef(Ret, this)); in section_end()
1048 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
H A DMachOObjectFile.cpp145 for (const SectionRef &Section : O->sections()) { in printRelocationTargetName()
322 unsigned MachOObjectFile::getSectionType(SectionRef Sec) const { in getSectionType()
505 Res = section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1214 return section_iterator(SectionRef(DRI, this)); in section_begin()
1220 return section_iterator(SectionRef(DRI, this)); in section_end()
2186 SectionRef
2194 return SectionRef(DRI, this); in getRelocationSection()
H A DIRObjectFile.cpp260 for (const SectionRef &Sec : Obj.sections()) { in findBitcodeInObject()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-size/
H A Dllvm-size.cpp299 for (const SectionRef &Section : Obj->sections()) { in PrintObjectSectionSizes()
334 for (const SectionRef &Section : Obj->sections()) { in PrintObjectSectionSizes()
359 for (const SectionRef &Section : Obj->sections()) { in PrintObjectSectionSizes()
/minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/
H A DCoverageMappingReader.cpp333 std::error_code load(SectionRef &Section) { in load()
497 SectionRef ProfileNames, CoverageMapping; in readHeader()

12