Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Object/
DObjectFile.h35 class SectionRef; variable
36 typedef content_iterator<SectionRef> section_iterator;
69 class SectionRef {
75 SectionRef() : OwningObject(nullptr) { } in SectionRef() function
77 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
79 bool operator==(const SectionRef &Other) const;
80 bool operator!=(const SectionRef &Other) const;
81 bool operator<(const SectionRef &Other) const;
116 friend class SectionRef; variable
210 friend class SectionRef; variable
[all …]
DELFObjectFile.h76 class ELFSectionRef : public SectionRef {
78 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
79 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
83 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
546 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
669 return section_iterator(SectionRef(toDRI(*R), this)); in getRelocatedSection()
820 return section_iterator(SectionRef(toDRI(EF.section_begin()), this)); in section_begin()
825 return section_iterator(SectionRef(toDRI(EF.section_end()), this)); in section_end()
DMachO.h206 unsigned getSectionType(SectionRef Sec) const;
215 unsigned getSectionID(SectionRef Sec) const;
331 SectionRef getAnyRelocationSection(const MachO::any_relocation_info &RE) const;
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DObjectFile.h84 friend class SectionRef; variable
165 class SectionRef {
171 SectionRef() : OwningObject(NULL) { in SectionRef() function
175 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
177 bool operator==(const SectionRef &Other) const;
179 error_code getNext(SectionRef &Result) const;
199 typedef content_iterator<SectionRef> section_iterator;
238 friend class SectionRef; variable
239 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const = 0;
356 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef() function
[all …]
/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);
DCOFFDumper.cpp85 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
94 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section);
95 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section);
105 const SectionRef &Section,
116 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
149 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate()
180 const SectionRef &SR;
264 const SectionRef &Sec, in printBinaryBlockWithRelocs()
534 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
699 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
[all …]
DARMWinEHPrinter.cpp186 ErrorOr<object::SectionRef>
217 const SectionRef &Section, in getRelocatedSymbol()
513 const SectionRef &Section, in dumpXDataRecord()
591 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
678 ErrorOr<SectionRef> Section = in dumpUnpackedEntry()
689 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
742 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
756 const SectionRef Section) { in dumpProcedureData()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp295 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
312 for (const SectionRef &Section : MachOObj->sections()) { in getSectionsAndSymbols()
800 const SectionRef &Section, in DumpLiteralPointerSection()
805 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection()
806 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection()
884 [&](const SectionRef &R) { in DumpLiteralPointerSection()
1076 for (const SectionRef &Section : O->sections()) { in DumpSectionContents()
1172 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents()
1783 SectionRef S;
1785 std::vector<SectionRef> *Sections;
[all …]
Dllvm-objdump.cpp194 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate;
204 const llvm::object::SectionRef &operator*() const { return *Iterator; } in operator *()
243 return SectionFilter([](llvm::object::SectionRef const &S) { in ToolSectionFilter()
682 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName()
994 std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; in DisassembleObject()
995 for (const SectionRef &Section : ToolSectionFilter(*Obj)) { in DisassembleObject()
1004 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in DisassembleObject()
1025 std::vector<std::pair<uint64_t, SectionRef>> SectionAddresses; in DisassembleObject()
1026 for (SectionRef Sec : Obj->sections()) in DisassembleObject()
1044 [](uint64_t LHS, const std::pair<uint64_t, SectionRef> &RHS) { in DisassembleObject()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h130 const SectionRef &Section) { in finalizeSection()
170 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
184 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
211 const SectionRef &JTSection, in populateJumpTable()
DRuntimeDyldMachOX86_64.h125 const SectionRef &Section) { in finalizeSection()
190 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
216 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
DRuntimeDyldMachOARM.h175 const SectionRef &Section) { in finalizeSection()
251 SectionRef SectionA = *SAI; in processHALFSECTDIFFRelocation()
265 SectionRef SectionB = *SBI; in processHALFSECTDIFFRelocation()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp75 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap;
78 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
83 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols()
102 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
107 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets()
172 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData()
195 const SectionRef &Sec = *SecI; in dumpCXXData()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp164 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
353 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
376 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
394 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
426 const SectionRef &Section = *SI; in computeTotalAllocSize()
505 const SectionRef &Section) { in computeSectionStubBufSize()
653 const SectionRef &Section, in emitSection()
754 const SectionRef &Section, in findOrEmitSection()
964 const object::SectionRef &Sec) const { in getSectionLoadAddress()
DRuntimeDyldImpl.h245 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
359 const SectionRef &Section,
368 const SectionRef &Section, bool IsCode,
411 const SectionRef &Section);
DRuntimeDyldMachO.cpp76 SectionRef TargetSection = *TargetSI; in processScatteredVANILLA()
124 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
180 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
/external/llvm/lib/Object/
DSymbolSize.cpp34 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
69 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
DObjectFile.cpp31 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
69 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
DCOFFObjectFile.cpp247 return section_iterator(SectionRef(Ret, this)); in getSymbolSection()
317 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID()
443 for (const SectionRef &S : sections()) { in getRvaPtr()
459 for (const SectionRef &S : sections()) { in getRvaAndSizeAsBytes()
815 return section_iterator(SectionRef(Ret, this)); in section_begin()
823 return section_iterator(SectionRef(Ret, this)); in section_end()
1084 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
/external/llvm/include/llvm/DebugInfo/
DDIContext.h172 virtual uint64_t getSectionLoadAddress(const object::SectionRef &Sec) const = 0;
184 virtual bool getLoadedSectionContents(const object::SectionRef &Sec, in getLoadedSectionContents()
/external/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h79 typedef std::map<object::SectionRef, unsigned> ObjSectionToIDMap;
88 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/external/swiftshader/third_party/LLVM/lib/Object/
DCOFFObjectFile.cpp279 SectionRef &Result) const { in getSectionNext()
283 Result = SectionRef(Sec, this); in getSectionNext()
492 return section_iterator(SectionRef(ret, this)); in begin_sections()
499 return section_iterator(SectionRef(ret, this)); in end_sections()
DMachOObjectFile.cpp301 SectionRef &Result) const { in getSectionNext()
304 Result = SectionRef(DRI, this); in getSectionNext()
511 return section_iterator(SectionRef(DRI, this)); in begin_sections()
518 return section_iterator(SectionRef(DRI, this)); in end_sections()
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp50 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h191 typedef MapVector<object::SectionRef, DWARFSection,
192 std::map<object::SectionRef, unsigned>> TypeSectionMap;

12