Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp59 if (auto SymType = Sym.getType()) { in getMachOObjectFileSymbolInfo() local
60 if (*SymType == object::SymbolRef::ST_File) in getMachOObjectFileSymbolInfo()
63 return SymType.takeError(); in getMachOObjectFileSymbolInfo()
116 if (auto SymType = Sym.getType()) { in getELFObjectFileSymbolInfo() local
117 if (*SymType == object::SymbolRef::ST_File) in getELFObjectFileSymbolInfo()
120 return SymType.takeError(); in getELFObjectFileSymbolInfo()
193 if (auto SymType = Sym.getType()) { in getCOFFObjectFileSymbolInfo() local
194 if (*SymType == object::SymbolRef::ST_File) in getCOFFObjectFileSymbolInfo()
197 return SymType.takeError(); in getCOFFObjectFileSymbolInfo()
298 if (auto SymType = Sym.getType()) { in getGenericObjectFileSymbolInfo() local
[all …]
H A DRTDyldObjectLinkingLayer.cpp121 if (auto SymType = Sym.getType()) { in emit() local
122 if (*SymType == object::SymbolRef::ST_File) in emit()
125 ES.reportError(SymType.takeError()); in emit()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp83 Expected<SymbolRef::Type> SymType = Sym.getType(); in convert() local
84 if (!SymType) { in convert()
85 consumeError(SymType.takeError()); in convert()
93 if (SymType.get() != SymbolRef::Type::ST_Function || in convert()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordsSlice.cpp114 void ObjCInterfaceRecord::updateLinkageForSymbols(ObjCIFSymbolKind SymType, in updateLinkageForSymbols() argument
116 if ((SymType & ObjCIFSymbolKind::Class) == ObjCIFSymbolKind::Class) in updateLinkageForSymbols()
118 if ((SymType & ObjCIFSymbolKind::MetaClass) == ObjCIFSymbolKind::MetaClass) in updateLinkageForSymbols()
120 if ((SymType & ObjCIFSymbolKind::EHType) == ObjCIFSymbolKind::EHType) in updateLinkageForSymbols()
195 ObjCIFSymbolKind SymType) { in addObjCInterface() argument
200 std::make_unique<ObjCInterfaceRecord>(Name, Linkage, SymType); in addObjCInterface()
202 Result.first->second->updateLinkageForSymbols(SymType, Linkage); in addObjCInterface()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h52 template <typename SymType>
53 static CVSymbol writeOneSymbol(SymType &Sym, BumpPtrAllocator &Storage, in writeOneSymbol()
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DRecord.h195 ObjCIFSymbolKind SymType) in ObjCInterfaceRecord() argument
197 updateLinkageForSymbols(SymType, Linkage); in ObjCInterfaceRecord()
212 LLVM_ABI void updateLinkageForSymbols(ObjCIFSymbolKind SymType,
H A DRecordsSlice.h74 ObjCIFSymbolKind SymType);
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFrontend.cpp35 ObjCIFSymbolKind SymType = in addObjCInterface() local
38 SymType |= ObjCIFSymbolKind::EHType; in addObjCInterface()
41 llvm::MachO::RecordsSlice::addObjCInterface(Name, Linkage, SymType); in addObjCInterface()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp251 object::SymbolRef::Type SymType; in loadObjectImpl() local
253 SymType = *SymTypeOrErr; in loadObjectImpl()
298 SymType != object::SymbolRef::ST_File) { in loadObjectImpl()
307 LLVM_DEBUG(dbgs() << "\tType: " << SymType << " (absolute) Name: " << Name in loadObjectImpl()
317 } else if (SymType == object::SymbolRef::ST_Function || in loadObjectImpl()
318 SymType == object::SymbolRef::ST_Data || in loadObjectImpl()
319 SymType == object::SymbolRef::ST_Unknown || in loadObjectImpl()
320 SymType == object::SymbolRef::ST_Other) { in loadObjectImpl()
344 LLVM_DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name in loadObjectImpl()
H A DRuntimeDyldELF.cpp1621 SymbolRef::Type SymType = SymbolRef::ST_Unknown; in processRelocationRef() local
1634 SymType = *SymTypeOrErr; in processRelocationRef()
1642 switch (SymType) { in processRelocationRef()
1953 bool IsExtern = Value.SymbolName || SymType == SymbolRef::ST_Unknown; in processRelocationRef()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp219 uint8_t SymType = Sym->isCallable() ? MachO::N_FUN : MachO::N_GSYM; in startSynthesis() local
223 {*Sym, Builder.addSymbol(*Sym->getName(), SymType, 1, 0, 0), in startSynthesis()
224 Builder.addSymbol(*Sym->getName(), SymType, 0, 0, 0)}); in startSynthesis()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp254 SymbolRef::Type SymType = *SymTypeOrErr; in notifyObjectLoaded() local
255 if (SymType != SymbolRef::ST_Function) in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp256 SymbolRef::Type SymType = *SymTypeOrErr; in notifyObjectLoaded() local
257 if (SymType != SymbolRef::ST_Function) in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp684 uint16_t SymType = XCOFFSym.getSymbolType(); in getSymbolFlags() local
685 if ((SymType & VISIBILITY_MASK) == SYM_V_HIDDEN) in getSymbolFlags()
688 if ((SymType & VISIBILITY_MASK) == SYM_V_EXPORTED) in getSymbolFlags()
937 uint8_t SymType = CsectAuxRef.getSymbolType(); in getSymbolSize() local
938 if (SymType == XCOFF::XTY_SD || SymType == XCOFF::XTY_CM) in getSymbolSize()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp977 uint32_t SymType = *TypeOrErr; in getSymbolNMTypeChar() local
979 if (SymType == SymbolRef::ST_File) in getSymbolNMTypeChar()
1717 uint16_t SymType = XCOFFSym.getSymbolType(); in getXCOFFExports() local
1718 if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_INTERNAL) in getXCOFFExports()
1720 if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_HIDDEN) in getXCOFFExports()
1767 uint16_t SymType = XCOFFSym.getSymbolType(); in getXCOFFExports() local
1768 if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_PROTECTED) in getXCOFFExports()
1770 else if ((SymType & XCOFF::VISIBILITY_MASK) == XCOFF::SYM_V_EXPORTED) in getXCOFFExports()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1493 const SymbolRef::Type SymType = unwrapOrError(Symbol.getType(), FileName); in createSymbolInfo() local
1494 return SymbolInfoTy(Addr, Name, SymType, /*IsMappingSymbol=*/false, in createSymbolInfo()
1497 uint8_t SymType = in createSymbolInfo() local
1499 return SymbolInfoTy(Addr, Name, SymType, false); in createSymbolInfo()