Home
last modified time | relevance | path

Searched refs:SymType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp58 if (auto SymType = Sym.getType()) { in getMachOObjectFileSymbolInfo() local
59 if (*SymType == object::SymbolRef::ST_File) in getMachOObjectFileSymbolInfo()
62 return SymType.takeError(); in getMachOObjectFileSymbolInfo()
115 if (auto SymType = Sym.getType()) { in getELFObjectFileSymbolInfo() local
116 if (*SymType == object::SymbolRef::ST_File) in getELFObjectFileSymbolInfo()
119 return SymType.takeError(); in getELFObjectFileSymbolInfo()
192 if (auto SymType = Sym.getType()) { in getCOFFObjectFileSymbolInfo() local
193 if (*SymType == object::SymbolRef::ST_File) in getCOFFObjectFileSymbolInfo()
196 return SymType.takeError(); in getCOFFObjectFileSymbolInfo()
242 if (auto SymType = Sym.getType()) { in getGenericObjectFileSymbolInfo() local
[all …]
H A DRTDyldObjectLinkingLayer.cpp114 if (auto SymType = Sym.getType()) { in emit() local
115 if (*SymType == object::SymbolRef::ST_File) in emit()
118 ES.reportError(SymType.takeError()); in emit()
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp84 Expected<SymbolRef::Type> SymType = Sym.getType(); in convert() local
85 if (!SymType) { in convert()
86 consumeError(SymType.takeError()); in convert()
94 if (SymType.get() != SymbolRef::Type::ST_Function || in convert()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h52 template <typename SymType>
53 static CVSymbol writeOneSymbol(SymType &Sym, BumpPtrAllocator &Storage, in writeOneSymbol()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp253 object::SymbolRef::Type SymType; in loadObjectImpl() local
255 SymType = *SymTypeOrErr; in loadObjectImpl()
300 SymType != object::SymbolRef::ST_File) { in loadObjectImpl()
309 LLVM_DEBUG(dbgs() << "\tType: " << SymType << " (absolute) Name: " << Name in loadObjectImpl()
316 } else if (SymType == object::SymbolRef::ST_Function || in loadObjectImpl()
317 SymType == object::SymbolRef::ST_Data || in loadObjectImpl()
318 SymType == object::SymbolRef::ST_Unknown || in loadObjectImpl()
319 SymType == object::SymbolRef::ST_Other) { in loadObjectImpl()
343 LLVM_DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name in loadObjectImpl()
H A DRuntimeDyldELF.cpp1237 SymbolRef::Type SymType = SymbolRef::ST_Unknown; in processRelocationRef() local
1250 SymType = *SymTypeOrErr; in processRelocationRef()
1258 switch (SymType) { in processRelocationRef()
1560 bool IsExtern = Value.SymbolName || SymType == SymbolRef::ST_Unknown; in processRelocationRef()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp253 SymbolRef::Type SymType = *SymTypeOrErr; in notifyObjectLoaded() local
254 if (SymType != SymbolRef::ST_Function) in notifyObjectLoaded()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp254 SymbolRef::Type SymType = *SymTypeOrErr; in notifyObjectLoaded() local
255 if (SymType != SymbolRef::ST_Function) in notifyObjectLoaded()
/llvm-project-15.0.7/llvm/lib/Object/
H A DXCOFFObjectFile.cpp621 uint16_t SymType = XCOFFSym.getSymbolType(); in getSymbolFlags() local
622 if ((SymType & VISIBILITY_MASK) == SYM_V_HIDDEN) in getSymbolFlags()
625 if ((SymType & VISIBILITY_MASK) == SYM_V_EXPORTED) in getSymbolFlags()
852 uint8_t SymType = CsectAuxRef.getSymbolType(); in getSymbolSize() local
853 if (SymType == XCOFF::XTY_SD || SymType == XCOFF::XTY_CM) in getSymbolSize()
/llvm-project-15.0.7/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp957 uint32_t SymType = *TypeOrErr; in getSymbolNMTypeChar() local
959 if (SymType == SymbolRef::ST_File) in getSymbolNMTypeChar()
1687 uint16_t SymType = XCOFFSym.getSymbolType(); in getXCOFFExports() local
1688 if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_INTERNAL) in getXCOFFExports()
1690 if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_HIDDEN) in getXCOFFExports()
1737 uint16_t SymType = XCOFFSym.getSymbolType(); in getXCOFFExports() local
1738 if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_PROTECTED) in getXCOFFExports()
1740 else if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_EXPORTED) in getXCOFFExports()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/
H A DPDBApiTest.cpp169 MockRawSymbol(PDB_SymType SymType) in MockRawSymbol() argument
170 : Type(SymType) {} in MockRawSymbol()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp592 uint8_t SymType = in loadMainBinarySymbols() local
594 bool Extern = SymType & (MachO::N_EXT | MachO::N_PEXT); in loadMainBinarySymbols()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp758 if (auto SymType = Sym.getType()) { in getTestObjectFileInterface() local
759 if (*SymType == object::SymbolRef::ST_File) in getTestObjectFileInterface()
762 return SymType.takeError(); in getTestObjectFileInterface()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1073 const SymbolRef::Type SymType = unwrapOrError(Symbol.getType(), FileName); in createSymbolInfo() local
1074 return SymbolInfoTy(Addr, Name, SymType, true); in createSymbolInfo()