Home
last modified time | relevance | path

Searched refs:Symb (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DCOFFImportFile.h37 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext() argument
39 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName() argument
40 if (Symb.p == 0) in printSymbolName()
46 uint32_t getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags() argument
55 DataRefImpl Symb; in symbol_end() local
56 Symb.p = isData() ? 1 : 2; in symbol_end()
57 return BasicSymbolRef(Symb, this); in symbol_end()
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;
258 void moveSymbolNext(DataRefImpl &Symb) const override;
259 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
260 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
261 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
262 uint32_t getSymbolAlignment(DataRefImpl Symb) const override;
263 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
[all …]
DObjectFile.h243 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0;
245 DataRefImpl Symb) const override;
246 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0;
247 virtual uint64_t getSymbolValueImpl(DataRefImpl Symb) const = 0;
248 virtual uint32_t getSymbolAlignment(DataRefImpl Symb) const;
249 virtual uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const = 0;
250 virtual Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const = 0;
252 getSymbolSection(DataRefImpl Symb) const = 0;
288 uint64_t getSymbolValue(DataRefImpl Symb) const;
294 uint64_t getCommonSymbolSize(DataRefImpl Symb) const { in getCommonSymbolSize() argument
[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;
DXCOFFObjectFile.h251 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;
261 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) 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;
DMachO.h275 void moveSymbolNext(DataRefImpl &Symb) const override;
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;
289 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
290 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
291 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
292 unsigned getSymbolSectionID(SymbolRef Symb) const;
[all …]
DCOFF.h793 const coff_symbol_type *toSymb(DataRefImpl Symb) 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;
900 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
901 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
[all …]
DSymbolicFile.h146 virtual void moveSymbolNext(DataRefImpl &Symb) const = 0;
148 virtual Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const = 0;
150 virtual uint32_t getSymbolFlags(DataRefImpl Symb) const = 0;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DIRObjectFile.cpp37 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { in getSym() argument
38 return *reinterpret_cast<ModuleSymbolTable::Symbol *>(Symb.p); in getSym()
41 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
42 Symb.p += sizeof(ModuleSymbolTable::Symbol); in moveSymbolNext()
45 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
46 SymTab.printSymbolName(OS, getSym(Symb)); in printSymbolName()
50 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
51 return SymTab.getSymbolFlags(getSym(Symb)); in getSymbolFlags()
DCOFFObjectFile.cpp137 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref); in moveSymbolNext() local
138 Symb += 1 + Symb->NumberOfAuxSymbols; in moveSymbolNext()
139 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext()
141 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref); in moveSymbolNext() local
142 Symb += 1 + Symb->NumberOfAuxSymbols; in moveSymbolNext()
143 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext()
150 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolName() local
152 if (std::error_code EC = getSymbolName(Symb, Result)) in getSymbolName()
164 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolAlignment() local
165 return std::min(uint64_t(32), PowerOf2Ceil(Symb.getValue())); in getSymbolAlignment()
[all …]
DXCOFFObjectFile.cpp142 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
143 const XCOFFSymbolEntry *SymEntPtr = toSymbolEntry(Symb); in moveSymbolNext()
151 Symb.p = reinterpret_cast<uintptr_t>(SymEntPtr); in moveSymbolNext()
179 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
180 const XCOFFSymbolEntry *SymEntPtr = toSymbolEntry(Symb); in getSymbolName()
193 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress()
195 return toSymbolEntry(Symb)->Value; in getSymbolAddress()
198 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl()
200 return toSymbolEntry(Symb)->Value; in getSymbolValueImpl()
203 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) 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()
1255 const WasmSymbol &Sym = getWasmSymbol(Symb); in getSymbolFlags()
1285 const WasmSymbol &WasmObjectFile::getWasmSymbol(const DataRefImpl &Symb) const { in getWasmSymbol()
1286 return Symbols[Symb.d.b]; in getWasmSymbol()
1289 const WasmSymbol &WasmObjectFile::getWasmSymbol(const SymbolRef &Symb) const { in getWasmSymbol()
1290 return getWasmSymbol(Symb.getRawDataRefImpl()); in getWasmSymbol()
1293 Expected<StringRef> WasmObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
1294 return getWasmSymbol(Symb).Info.Name; in getSymbolName()
1297 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress()
[all …]
DObjectFile.cpp66 Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
67 Expected<StringRef> Name = getSymbolName(Symb); in printSymbolName()
DMachOObjectFile.cpp1745 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
1749 Symb.p += SymbolTableEntrySize; in moveSymbolNext()
1752 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
1754 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, Symb); in getSymbolName()
1762 " for symbol at index " + Twine(getSymbolIndex(Symb))); in getSymbolName()
1784 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName() argument
1787 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, Symb); in getIndirectName()
1790 uint64_t NValue = getNValue(Symb); in getIndirectName()
1820 MachOObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
1821 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, Symb); in getSymbolType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWinCOFFObjectWriter.cpp102 COFFSymbol *Symb = nullptr; member
759 Reloc.Symb = SectionMap[TargetSection]->Symbol; in recordRelocation()
765 Reloc.Symb = SymbolMap[&A]; in recordRelocation()
768 ++Reloc.Symb->Relocations; in recordRelocation()
932 assert(Relocation.Symb->getIndex() != -1); in assignFileOffsets()
933 Relocation.Data.SymbolTableIndex = Relocation.Symb->getIndex(); in assignFileOffsets()