Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-10.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;
163 friend class SectionRef; variable
255 friend class SectionRef; variable
[all …]
DELFObjectFile.h98 class ELFSectionRef : public SectionRef {
100 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
101 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
105 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
242 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in toSectionRef()
243 return SectionRef(toDRI(Sec), this); in toSectionRef()
290 std::vector<SectionRef> dynamic_relocation_sections() const override;
676 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
767 std::vector<SectionRef>
769 std::vector<SectionRef> Res; in dynamic_relocation_sections()
[all …]
/external/llvm-project/llvm/include/llvm/Object/
DObjectFile.h42 class SectionRef; variable
47 using section_iterator = content_iterator<SectionRef>;
80 class SectionRef {
87 SectionRef() = default;
88 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
90 bool operator==(const SectionRef &Other) const;
91 bool operator!=(const SectionRef &Other) const;
92 bool operator<(const SectionRef &Other) const;
165 friend class SectionRef; variable
257 friend class SectionRef; variable
[all …]
DELFObjectFile.h101 class ELFSectionRef : public SectionRef {
103 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
104 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
108 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
245 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in toSectionRef()
246 return SectionRef(toDRI(Sec), this); in toSectionRef()
304 std::vector<SectionRef> dynamic_relocation_sections() const override;
757 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
848 std::vector<SectionRef>
850 std::vector<SectionRef> Res; in dynamic_relocation_sections()
[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/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-project/llvm/tools/llvm-readobj/
DARMWinEHPrinter.h138 ErrorOr<object::SectionRef>
147 const object::SectionRef &Section, uint64_t Offset);
150 const object::SectionRef &Section,
153 const object::SectionRef Section, uint64_t Offset,
156 const object::SectionRef Section, uint64_t Offset,
159 const object::SectionRef Section, uint64_t Offset,
162 const object::SectionRef Section, unsigned Entry,
165 const object::SectionRef Section);
DObjDumper.cpp55 static std::vector<object::SectionRef>
58 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex()
70 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex()
101 for (object::SectionRef Section : in printSectionsAsString()
135 for (object::SectionRef Section : in printSectionsAsHex()
DCOFFDumper.cpp113 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
129 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section);
130 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section);
139 const SectionRef &Section,
158 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
199 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate()
237 const SectionRef &SR;
315 const SectionRef &Sec, in printBinaryBlockWithRelocs()
593 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
916 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
[all …]
DWasmDumper.cpp70 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
83 void WasmDumper::printRelocation(const SectionRef &Section, in printRelocation()
124 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
156 for (const SectionRef &Section : Obj->sections()) { in printSectionHeaders()
/external/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp354 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
365 for (const SectionRef &Section : MachOObj->sections()) in getSectionsAndSymbols()
439 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName()
1437 const SectionRef &Section, in DumpLiteralPointerSection()
1442 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection()
1443 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection()
1513 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection()
1605 const SectionRef &Section, in DumpInitTermPointerSection()
1740 for (const SectionRef &Section : O->sections()) { in DumpSectionContents()
1845 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents()
[all …]
Dllvm-objdump.cpp402 static FilterResult checkSectionFilter(object::SectionRef S) { in checkSectionFilter()
431 [Idx](object::SectionRef S) { in ToolSectionFilter()
1355 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
1382 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
1397 std::map<SectionRef, SectionSymbolsTy> &AllSymbols, in addPltEntries() argument
1399 Optional<SectionRef> Plt = None; in addPltEntries()
1400 for (const SectionRef &Section : Obj->sections()) { in addPltEntries()
1454 static std::map<SectionRef, std::vector<RelocationRef>>
1456 std::map<SectionRef, std::vector<RelocationRef>> Ret; in getRelocsMap()
1458 for (SectionRef Sec : Obj.sections()) { in getRelocsMap()
[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/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/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h129 const SectionRef &Section) { in finalizeSection()
172 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
186 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
213 const SectionRef &JTSection, in populateJumpTable()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h129 const SectionRef &Section) { in finalizeSection()
172 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
186 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
213 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/llvm-project/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp79 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap;
82 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
87 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols()
106 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
111 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets()
176 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData()
203 const SectionRef &Sec = *SecI; in dumpCXXData()
/external/llvm-project/llvm/tools/llvm-profgen/
DProfiledBinary.cpp159 const SectionRef &Section = *SI; in setPreferredBaseAddress()
170 const SectionRef &Section) { in dissassembleSymbol()
277 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassemble()
288 for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols) in disassemble()
297 const SectionRef &Section = *SI; in disassemble()
/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()
/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-10.0/llvm/lib/Object/
DSymbolSize.cpp27 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
62 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()

123456