Home
last modified time | relevance | path

Searched refs:DataRefImpl (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DXCOFFObjectFile.h216 const XCOFFSectionHeader32 *toSection32(DataRefImpl Ref) const;
217 const XCOFFSectionHeader64 *toSection64(DataRefImpl Ref) const;
224 const char *getSectionNameInternal(DataRefImpl Sec) const;
251 void moveSymbolNext(DataRefImpl &Symb) const override;
252 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
256 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
257 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
258 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
259 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
260 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
[all …]
DObjectFile.h53 DataRefImpl RelocationPimpl;
58 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
73 DataRefImpl getRawDataRefImpl() const;
84 DataRefImpl SectionPimpl;
89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
135 DataRefImpl getRawDataRefImpl() const;
176 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
243 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0;
245 DataRefImpl Symb) const override;
246 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0;
[all …]
DELFObjectFile.h57 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0;
58 virtual uint8_t getSymbolBinding(DataRefImpl Symb) const = 0;
59 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0;
60 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0;
62 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0;
63 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0;
64 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0;
66 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
95 std::vector<std::pair<DataRefImpl, uint64_t>> getPltAddresses() const;
228 uint64_t getSymbolSize(DataRefImpl Sym) const override;
[all …]
DSymbolicFile.h34 union DataRefImpl { union
42 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function
46 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
52 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {
55 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
58 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {
62 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {
65 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0;
99 DataRefImpl SymbolPimpl;
122 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner);
[all …]
DWasm.h124 const WasmSymbol &getWasmSymbol(const DataRefImpl &Symb) const;
155 void moveSymbolNext(DataRefImpl &Symb) const override;
157 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
162 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
164 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
166 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
167 uint32_t getSymbolAlignment(DataRefImpl Symb) const override;
168 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
169 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
170 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
[all …]
DMachO.h44 DataRefImpl DicePimpl;
49 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
60 DataRefImpl getRawDataRefImpl() const;
275 void moveSymbolNext(DataRefImpl &Symb) const override;
277 uint64_t getNValue(DataRefImpl Sym) const;
278 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
283 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const;
286 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
287 uint32_t getSymbolAlignment(DataRefImpl Symb) const override;
288 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
[all …]
DCOFFImportFile.h37 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext()
39 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName()
46 uint32_t getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
51 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin()
55 DataRefImpl Symb; in symbol_end()
DCOFF.h793 const coff_symbol_type *toSymb(DataRefImpl Symb) const;
794 const coff_section *toSec(DataRefImpl Sec) const;
795 const coff_relocation *toRel(DataRefImpl Rel) const;
893 void moveSymbolNext(DataRefImpl &Symb) const override;
894 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
895 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
896 uint32_t getSymbolAlignment(DataRefImpl Symb) const override;
897 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
898 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
899 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
[all …]
DTapiFile.h32 void moveSymbolNext(DataRefImpl &DRI) const override;
34 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override;
36 uint32_t getSymbolFlags(DataRefImpl DRI) const override;
DIRObjectFile.h39 void moveSymbolNext(DataRefImpl &Symb) const override;
40 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override;
41 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DXCOFFObjectFile.cpp93 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32()
102 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64()
110 const XCOFFSymbolEntry *XCOFFObjectFile::toSymbolEntry(DataRefImpl Ref) const { in toSymbolEntry()
142 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
179 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
193 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress()
198 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl()
203 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl()
210 XCOFFObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
216 XCOFFObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
[all …]
DObjectFile.cpp57 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
66 Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
74 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
76 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
84 bool ObjectFile::isSectionStripped(DataRefImpl Sec) const { return false; } in isSectionStripped()
86 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
90 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData()
95 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
DTapiFile.cpp78 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { in moveSymbolNext()
83 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
89 uint32_t TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
95 DataRefImpl DRI; in symbol_begin()
101 DataRefImpl DRI; in symbol_end()
DIRObjectFile.cpp37 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { in getSym()
41 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
45 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
50 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
55 DataRefImpl Ret; in symbol_begin()
61 DataRefImpl Ret; in symbol_end()
DCOFFObjectFile.cpp102 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb()
118 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
134 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
149 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName()
157 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
161 uint32_t COFFObjectFile::getSymbolAlignment(DataRefImpl Ref) const { in getSymbolAlignment()
168 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
189 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
212 uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
243 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
[all …]
DWasmObjectFile.cpp1251 void WasmObjectFile::moveSymbolNext(DataRefImpl &Symb) const { Symb.d.b++; } in moveSymbolNext()
1253 uint32_t WasmObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
1272 DataRefImpl Ref; in symbol_begin()
1279 DataRefImpl Ref; in symbol_end()
1285 const WasmSymbol &WasmObjectFile::getWasmSymbol(const DataRefImpl &Symb) const { in getWasmSymbol()
1293 Expected<StringRef> WasmObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
1297 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress()
1326 uint64_t WasmObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl()
1330 uint32_t WasmObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment()
1335 uint64_t WasmObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl()
[all …]
DMachOObjectFile.cpp114 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase()
177 DataRefImpl Sec) { in getSectionFlags()
1695 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in checkSymbolTable()
1745 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
1752 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
1768 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType()
1773 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue()
1784 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName()
1798 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl()
1802 Expected<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress()
[all …]
DELFObjectFile.cpp382 std::vector<std::pair<DataRefImpl, uint64_t>>
440 std::vector<std::pair<DataRefImpl, uint64_t>> Result; in getPltAddresses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp114 DataRefImpl ShdrRef = Sec.getRawDataRefImpl(); in updateSectionAddress()
170 DataRefImpl ShdrRef = Sec.getRawDataRefImpl(); in createRTDyldELFObject()