Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Object/
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 …]
DELFObjectFile.h51 virtual uint64_t getSectionFlags(SectionRef Sec) const = 0;
52 virtual uint32_t getSectionType(SectionRef Sec) const = 0;
218 uint64_t getSectionFlags(SectionRef Sec) const override;
219 uint32_t getSectionType(SectionRef Sec) const override;
282 uint64_t ELFObjectFile<ELFT>::getSectionFlags(SectionRef Sec) const { in getSectionFlags()
288 uint32_t ELFObjectFile<ELFT>::getSectionType(SectionRef Sec) const { in getSectionType()
426 Res = section_iterator(SectionRef(Sec, this)); in getSymbolSection()
542 return section_iterator(SectionRef(toDRI(R), this)); in getRelocatedSection()
824 return section_iterator(SectionRef(toDRI(EF.begin_sections()), this)); in section_begin()
829 return section_iterator(SectionRef(toDRI(EF.end_sections()), this)); in section_end()
DMachO.h203 unsigned getSectionType(SectionRef Sec) const;
329 SectionRef getRelocationSection(const MachO::any_relocation_info &RE) const;
/external/llvm/tools/llvm-readobj/
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);
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()
DCOFFDumper.cpp66 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
74 void printCodeViewDebugInfo(const SectionRef &Section);
77 const SectionRef &Section,
341 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
472 void COFFDumper::printCodeViewDebugInfo(const SectionRef &Section) { in printCodeViewDebugInfo()
638 const SectionRef &Section, in printCodeViewSymbolsSubsection()
724 for (const SectionRef &Sec : Obj->sections()) { in printSections()
781 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
805 void COFFDumper::printRelocation(const SectionRef &Section, in printRelocation()
1100 for (const SectionRef &Section : Obj->sections()) { in printCOFFDirectives()
DMachODumper.cpp393 for (const SectionRef &Section : Obj->sections()) { in printSections()
458 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.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()
200 const SectionRef &Sec = *SecI; in dumpCXXData()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h116 const SectionRef &Section) { in finalizeSection()
156 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
166 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
211 SectionRef TargetSection = *TargetSI; in processI386ScatteredVANILLA()
225 void populateJumpTable(const MachOObjectFile &Obj, const SectionRef &JTSection, in populateJumpTable()
DRuntimeDyldMachOARM.h161 const SectionRef &Section) { in finalizeSection()
237 SectionRef SectionA = *SAI; in processHALFSECTDIFFRelocation()
247 SectionRef SectionB = *SBI; in processHALFSECTDIFFRelocation()
DRuntimeDyldMachOX86_64.h103 const SectionRef &Section) {} in finalizeSection()
DRuntimeDyldCOFFX86_64.h198 const SectionRef &Section = SectionPair.first; in finalizeLoad()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp279 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
290 for (const SectionRef &Section : MachOObj->sections()) { in getSectionsAndSymbols()
781 const SectionRef &Section, in DumpLiteralPointerSection()
786 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection()
787 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection()
860 [&](const SectionRef &R) { in DumpLiteralPointerSection()
1049 for (const SectionRef &Section : O->sections()) { in DumpSectionContents()
1143 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents()
1725 SectionRef S;
1727 std::vector<SectionRef> *Sections;
[all …]
Dllvm-objdump.cpp290 std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; in DisassembleObject()
291 for (const SectionRef &Section : Obj->sections()) { in DisassembleObject()
297 for (const SectionRef &Section : Obj->sections()) { in DisassembleObject()
332 for (const SectionRef &RelocSec : SectionRelocMap[Section]) { in DisassembleObject()
450 for (const SectionRef &Section : Obj->sections()) { in PrintRelocations()
483 for (const SectionRef &Section : Obj->sections()) { in PrintSectionHeaders()
502 for (const SectionRef &Section : Obj->sections()) { in PrintSectionContents()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h210 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
322 unsigned emitSection(const ObjectFile &Obj, const SectionRef &Section,
330 unsigned findOrEmitSection(const ObjectFile &Obj, const SectionRef &Section,
371 const SectionRef &Section);
DRuntimeDyld.cpp269 static bool isRequiredForExecution(const SectionRef &Section) { in isRequiredForExecution()
291 static bool isReadOnlyData(const SectionRef &Section) { in isReadOnlyData()
309 static bool isZeroInit(const SectionRef &Section) { in isZeroInit()
339 const SectionRef &Section = *SI; in computeTotalAllocSize()
410 const SectionRef &Section) { in computeSectionStubBufSize()
548 const SectionRef &Section, bool IsCode) { in emitSection()
634 const SectionRef &Section, in findOrEmitSection()
DRuntimeDyldMachO.cpp78 SectionRef Sec = Obj.getRelocationSection(RelInfo); in getRelocationValueRef()
139 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
DRuntimeDyldMachO.h113 const SectionRef &PTSection,
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h170 typedef MapVector<object::SectionRef, DWARFSection,
171 std::map<object::SectionRef, unsigned>> TypeSectionMap;
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp52 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain()
/external/llvm/lib/Object/
DObjectFile.cpp47 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
DCOFFObjectFile.cpp312 Result = section_iterator(SectionRef(Ref, this)); in getSymbolSection()
487 for (const SectionRef &S : sections()) { in getRvaPtr()
777 return section_iterator(SectionRef(Ret, this)); in section_begin()
785 return section_iterator(SectionRef(Ret, this)); in section_end()
1055 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
DMachOObjectFile.cpp160 for (const SectionRef &Section : O->sections()) { in printRelocationTargetName()
354 unsigned MachOObjectFile::getSectionType(SectionRef Sec) const { in getSectionType()
540 Res = section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1250 return section_iterator(SectionRef(DRI, this)); in section_begin()
1256 return section_iterator(SectionRef(DRI, this)); in section_end()
2226 SectionRef
2234 return SectionRef(DRI, this); in getRelocationSection()
/external/llvm/tools/llvm-size/
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()
/external/llvm/lib/ProfileData/
DCoverageMappingReader.cpp300 std::error_code load(SectionRef &Section) { in load()
465 SectionRef NamesSection, CoverageSection; in loadBinaryFormat()

12