Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DObjectFile.h43 class SectionRef; variable
48 using section_iterator = content_iterator<SectionRef>;
81 class SectionRef {
88 SectionRef() = default;
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;
130 friend class SectionRef; variable
222 friend class SectionRef; variable
[all …]
DELFObjectFile.h91 class ELFSectionRef : public SectionRef {
93 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
94 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
98 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
263 std::vector<SectionRef> dynamic_relocation_sections() const override;
631 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
726 std::vector<SectionRef>
728 std::vector<SectionRef> Res; in dynamic_relocation_sections()
805 return section_iterator(SectionRef(toDRI(*R), this)); in getRelocatedSection()
983 return section_iterator(SectionRef()); in section_begin()
[all …]
/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 …]
/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/swiftshader/third_party/llvm-7.0/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);
DObjDumper.cpp35 static Expected<object::SectionRef>
39 object::SectionRef Section; in getSecNameOrIndexAsSecRef()
45 for (object::SectionRef SecRef : Obj->sections()) { in getSecNameOrIndexAsSecRef()
65 Expected<object::SectionRef> SectionRefOrError = in printSectionAsString()
69 object::SectionRef Section = *SectionRefOrError; in printSectionAsString()
99 Expected<object::SectionRef> SectionRefOrError = in printSectionAsHex()
103 object::SectionRef Section = *SectionRefOrError; in printSectionAsHex()
DWasmDumper.cpp66 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
76 void WasmDumper::printRelocation(const SectionRef &Section, in printRelocation()
127 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
159 for (const SectionRef &Section : Obj->sections()) { in printSections()
DCOFFDumper.cpp103 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
117 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section);
118 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section);
128 const SectionRef &Section,
147 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
187 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate()
225 const SectionRef &SR;
309 const SectionRef &Sec, in printBinaryBlockWithRelocs()
603 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
902 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-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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp306 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
318 for (const SectionRef &Section : MachOObj->sections()) { in getSectionsAndSymbols()
1118 const SectionRef &Section, in DumpLiteralPointerSection()
1123 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection()
1124 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection()
1196 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection()
1283 const SectionRef &Section, in DumpInitTermPointerSection()
1421 for (const SectionRef &Section : O->sections()) { in DumpSectionContents()
1517 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents()
2182 std::vector<SectionRef> *Sections, bool verbose) in DisassembleInfo()
[all …]
Dllvm-objdump.cpp263 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate;
273 const llvm::object::SectionRef &operator*() const { return *Iterator; } in operator *()
313 [](llvm::object::SectionRef const &S) { in ToolSectionFilter()
580 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName()
1194 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
1224 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
1303 std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; in DisassembleObject()
1304 for (const SectionRef &Section : ToolSectionFilter(*Obj)) { in DisassembleObject()
1312 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in DisassembleObject()
1346 std::vector<std::pair<uint64_t, SectionRef>> SectionAddresses; in DisassembleObject()
[all …]
/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/swiftshader/third_party/llvm-7.0/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()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp73 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap;
76 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
81 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols()
100 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
105 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets()
170 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData()
193 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);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DSymbolSize.cpp28 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
63 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
/external/llvm/lib/Object/
DSymbolSize.cpp34 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
69 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp164 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
404 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
427 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
445 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
477 const SectionRef &Section = *SI; in computeTotalAllocSize()
582 const SectionRef &Section) { in computeSectionStubBufSize()
703 const SectionRef &Section, in emitSection()
817 const SectionRef &Section, in findOrEmitSection()
1100 const object::SectionRef &Sec) const { in getSectionLoadAddress()

1234