Home
last modified time | relevance | path

Searched refs:SymbolRef (Results 1 – 25 of 64) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DObjectFile.h44 class SymbolRef; variable
82 friend class SymbolRef; variable
126 bool containsSymbol(SymbolRef S) const;
162 class SymbolRef : public BasicSymbolRef {
175 SymbolRef() = default;
176 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
177 SymbolRef(const BasicSymbolRef &B) : BasicSymbolRef(B) { in SymbolRef() function
193 Expected<SymbolRef::Type> getType() const;
204 symbol_iterator(SymbolRef Sym) : basic_symbol_iterator(Sym) {} in symbol_iterator()
206 : basic_symbol_iterator(SymbolRef(B->getRawDataRefImpl(), in symbol_iterator()
[all …]
DIRSymtab.h251 class SymbolRef;
262 using symbol_range = iterator_range<object::content_iterator<SymbolRef>>;
306 class Reader::SymbolRef : public Symbol {
331 SymbolRef(const storage::Symbol *SymI, const storage::Symbol *SymE, in SymbolRef() function
344 bool operator==(const SymbolRef &Other) const { return SymI == Other.SymI; }
348 return {SymbolRef(Symbols.begin(), Symbols.end(), Uncommons.begin(), this), in symbols()
349 SymbolRef(Symbols.end(), Symbols.end(), nullptr, this)}; in symbols()
356 return {SymbolRef(MBegin, MEnd, Uncommons.begin() + M.UncBegin, this), in module_symbols()
357 SymbolRef(MEnd, MEnd, nullptr, this)}; in module_symbols()
DELFObjectFile.h136 class ELFSymbolRef : public SymbolRef {
138 ELFSymbolRef(const SymbolRef &B) : SymbolRef(B) { in ELFSymbolRef()
139 assert(isa<ELFObjectFileBase>(SymbolRef::getObject())); in ELFSymbolRef()
176 : symbol_iterator(SymbolRef(B->getRawDataRefImpl(), in elf_symbol_iterator()
268 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
586 Expected<SymbolRef::Type>
592 return SymbolRef::ST_Unknown; in getSymbolType()
594 return SymbolRef::ST_Debug; in getSymbolType()
596 return SymbolRef::ST_File; in getSymbolType()
598 return SymbolRef::ST_Function; in getSymbolType()
[all …]
DSymbolSize.h27 std::vector<std::pair<SymbolRef, uint64_t>>
DCOFFImportFile.h47 return SymbolRef::SF_Global; in getSymbolFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp72 std::vector<std::pair<SymbolRef, uint64_t>> Symbols = in create()
160 std::error_code SymbolizableObjectFile::addSymbol(const SymbolRef &Symbol, in addSymbol()
169 Expected<SymbolRef::Type> SymbolTypeOrErr = Symbol.getType(); in addSymbol()
172 SymbolRef::Type SymbolType = *SymbolTypeOrErr; in addSymbol()
173 if (SymbolType != SymbolRef::ST_Function && SymbolType != SymbolRef::ST_Data) in addSymbol()
204 auto &M = SymbolType == SymbolRef::ST_Function ? Functions : Objects; in addSymbol()
222 bool SymbolizableObjectFile::getNameFromSymbolTable(SymbolRef::Type Type, in getNameFromSymbolTable()
227 const auto &Symbols = Type == SymbolRef::ST_Function ? Functions : Objects; in getNameFromSymbolTable()
266 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset.Address, in symbolizeCode()
291 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset.Address, in symbolizeInlinedCode()
[all …]
DSymbolizableObjectFile.h58 bool getNameFromSymbolTable(object::SymbolRef::Type Type, uint64_t Address,
63 std::error_code addSymbol(const object::SymbolRef &Symbol,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DSymbolSize.cpp33 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID()
39 std::vector<std::pair<SymbolRef, uint64_t>>
41 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes()
57 SymbolRef Sym = *I; in computeSymbolSizes()
DCOFFObjectFile.cpp189 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
194 return SymbolRef::ST_Function; in getSymbolType()
196 return SymbolRef::ST_Unknown; in getSymbolType()
198 return SymbolRef::ST_Data; in getSymbolType()
200 return SymbolRef::ST_File; in getSymbolType()
204 return SymbolRef::ST_Debug; in getSymbolType()
207 return SymbolRef::ST_Data; in getSymbolType()
209 return SymbolRef::ST_Other; in getSymbolType()
214 uint32_t Result = SymbolRef::SF_None; in getSymbolFlags()
217 Result |= SymbolRef::SF_Global; in getSymbolFlags()
[all …]
DObjectFile.cpp47 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
59 if (Flags & SymbolRef::SF_Undefined) in getSymbolValue()
61 if (Flags & SymbolRef::SF_Common) in getSymbolValue()
DWasmObjectFile.cpp1254 uint32_t Result = SymbolRef::SF_None; in getSymbolFlags()
1259 Result |= SymbolRef::SF_Weak; in getSymbolFlags()
1261 Result |= SymbolRef::SF_Global; in getSymbolFlags()
1263 Result |= SymbolRef::SF_Hidden; in getSymbolFlags()
1265 Result |= SymbolRef::SF_Undefined; in getSymbolFlags()
1267 Result |= SymbolRef::SF_Executable; in getSymbolFlags()
1289 const WasmSymbol &WasmObjectFile::getWasmSymbol(const SymbolRef &Symb) const { in getWasmSymbol()
1340 Expected<SymbolRef::Type>
1346 return SymbolRef::ST_Function; in getSymbolType()
1348 return SymbolRef::ST_Other; in getSymbolType()
[all …]
DXCOFFObjectFile.cpp209 Expected<SymbolRef::Type>
212 return SymbolRef::ST_Other; in getSymbolType()
339 return symbol_iterator(SymbolRef()); in getRelocationSymbol()
364 return basic_symbol_iterator(SymbolRef(SymDRI, this)); in symbol_begin()
372 return basic_symbol_iterator(SymbolRef(SymDRI, this)); in symbol_end()
DMachOObjectFile.cpp1694 for (const SymbolRef &Symbol : symbols()) { in checkSymbolTable()
1808 if (flags & SymbolRef::SF_Common) { in getSymbolAlignment()
1819 Expected<SymbolRef::Type>
1826 return SymbolRef::ST_Debug; in getSymbolType()
1830 return SymbolRef::ST_Unknown; in getSymbolType()
1837 return SymbolRef::ST_Data; in getSymbolType()
1838 return SymbolRef::ST_Function; in getSymbolType()
1840 return SymbolRef::ST_Other; in getSymbolType()
1849 uint32_t Result = SymbolRef::SF_None; in getSymbolFlags()
1852 Result |= SymbolRef::SF_Indirect; in getSymbolFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp92 for (const std::pair<SymbolRef, uint64_t> &P : computeSymbolSizes(DebugObj)) { in notifyObjectLoaded()
93 SymbolRef Sym = P.first; in notifyObjectLoaded()
94 if (!Sym.getType() || *Sym.getType() != SymbolRef::ST_Function) in notifyObjectLoaded()
156 if (I->getType() && *I->getType() == SymbolRef::ST_Function) { in notifyFreeingObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp113 for (const std::pair<SymbolRef, uint64_t> &P : computeSymbolSizes(*DebugObj)) { in notifyObjectLoaded()
114 SymbolRef Sym = P.first; in notifyObjectLoaded()
118 Expected<SymbolRef::Type> SymTypeOrErr = Sym.getType(); in notifyObjectLoaded()
124 SymbolRef::Type SymType = *SymTypeOrErr; in notifyObjectLoaded()
125 if (SymType != SymbolRef::ST_Function) in notifyObjectLoaded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.cpp30 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
33 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp40 llvm::JITSymbolFlags::fromObjectSymbol(const object::SymbolRef &Symbol) { in fromObjectSymbol()
53 if (*SymbolType & object::SymbolRef::ST_Function) in fromObjectSymbol()
60 llvm::ARMJITSymbolFlags::fromObjectSymbol(const object::SymbolRef &Symbol) { in fromObjectSymbol()
DRuntimeDyld.cpp170 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
218 if ((Flags & SymbolRef::SF_Common) || (Flags & SymbolRef::SF_Weak)) { in loadObjectImpl()
240 if (Flags & SymbolRef::SF_Undefined) in loadObjectImpl()
244 object::SymbolRef::Type SymType; in loadObjectImpl()
290 if (Flags & SymbolRef::SF_Absolute && in loadObjectImpl()
291 SymType != object::SymbolRef::ST_File) { in loadObjectImpl()
305 } else if (SymType == object::SymbolRef::ST_Function || in loadObjectImpl()
306 SymType == object::SymbolRef::ST_Data || in loadObjectImpl()
307 SymType == object::SymbolRef::ST_Unknown || in loadObjectImpl()
308 SymType == object::SymbolRef::ST_Other) { in loadObjectImpl()
[all …]
DRuntimeDyldCOFF.h41 uint64_t getSymbolOffset(const SymbolRef &Sym);
DRuntimeDyldCOFF.cpp76 uint64_t RuntimeDyldCOFF::getSymbolOffset(const SymbolRef &Sym) { in getSymbolOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp244 for (const std::pair<SymbolRef, uint64_t> &P : computeSymbolSizes(DebugObj)) { in notifyObjectLoaded()
245 SymbolRef Sym = P.first; in notifyObjectLoaded()
248 Expected<SymbolRef::Type> SymTypeOrErr = Sym.getType(); in notifyObjectLoaded()
254 SymbolRef::Type SymType = *SymTypeOrErr; in notifyObjectLoaded()
255 if (SymType != SymbolRef::ST_Function) in notifyObjectLoaded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h36 class SymbolRef; variable
167 fromObjectSymbol(const object::SymbolRef &Symbol);
201 static ARMJITSymbolFlags fromObjectSymbol(const object::SymbolRef &Symbol);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCInst.cpp52 return Kind == MCExpr::SymbolRef && in isBareSymbolRef()
DXCOFFObjectWriter.cpp430 const Symbol &SymbolRef, const ControlSection &CSectionRef, in writeSymbolTableEntryForCsectMemberLabel() argument
433 writeSymbolName(SymbolRef.getName()); in writeSymbolTableEntryForCsectMemberLabel()
446 W.write<uint8_t>(SymbolRef.getStorageClass()); in writeSymbolTableEntryForCsectMemberLabel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFThumb.h27 Expected<object::SymbolRef::Type> SymTypeOrErr = Symbol->getType(); in isThumbFunc()
36 if (*SymTypeOrErr != object::SymbolRef::ST_Function) in isThumbFunc()

123