/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_errno.c | 60 #define ES(x) x macro 62 #define ES(x) macro 81 { BSM_ERRNO_ESUCCESS, 0, ES("Success") }, 82 { BSM_ERRNO_EPERM, EPERM, ES("Operation not permitted") }, 83 { BSM_ERRNO_ENOENT, ENOENT, ES("No such file or directory") }, 84 { BSM_ERRNO_ESRCH, ESRCH, ES("No such process") }, 85 { BSM_ERRNO_EINTR, EINTR, ES("Interrupted system call") }, 86 { BSM_ERRNO_EIO, EIO, ES("Input/output error") }, 87 { BSM_ERRNO_ENXIO, ENXIO, ES("Device not configured") }, 88 { BSM_ERRNO_E2BIG, E2BIG, ES("Argument list too long") }, [all …]
|
/freebsd/sys/security/audit/ |
H A D | bsm_errno.c | 61 #define ES(x) x macro 63 #define ES(x) macro 82 { BSM_ERRNO_ESUCCESS, 0, ES("Success") }, 83 { BSM_ERRNO_EPERM, EPERM, ES("Operation not permitted") }, 84 { BSM_ERRNO_ENOENT, ENOENT, ES("No such file or directory") }, 85 { BSM_ERRNO_ESRCH, ESRCH, ES("No such process") }, 86 { BSM_ERRNO_EINTR, EINTR, ES("Interrupted system call") }, 87 { BSM_ERRNO_EIO, EIO, ES("Input/output error") }, 88 { BSM_ERRNO_ENXIO, ENXIO, ES("Device not configured") }, 89 { BSM_ERRNO_E2BIG, E2BIG, ES("Argument list too long") }, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | ObjectFileInterface.cpp | 26 void addInitSymbol(MaterializationUnit::Interface &I, ExecutionSession &ES, in addInitSymbol() argument 35 I.InitSymbol = ES.intern(InitSymString); in addInitSymbol() 42 getMachOObjectFileSymbolInfo(ExecutionSession &ES, in getMachOObjectFileSymbolInfo() argument 78 I.SymbolFlags[ES.intern(*Name)] = std::move(*SymFlags); in getMachOObjectFileSymbolInfo() 84 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo() 90 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo() 99 getELFObjectFileSymbolInfo(ExecutionSession &ES, in getELFObjectFileSymbolInfo() argument 136 I.SymbolFlags[ES.intern(*Name)] = std::move(*SymFlags); in getELFObjectFileSymbolInfo() 143 addInitSymbol(I, ES, Obj.getFileName()); in getELFObjectFileSymbolInfo() 153 getCOFFObjectFileSymbolInfo(ExecutionSession &ES, in getCOFFObjectFileSymbolInfo() argument 235 getGenericObjectFileSymbolInfo(ExecutionSession & ES,const object::ObjectFile & Obj) getGenericObjectFileSymbolInfo() argument 275 getObjectFileInterface(ExecutionSession & ES,MemoryBufferRef ObjBuffer) getObjectFileInterface() argument [all...] |
H A D | COFFPlatform.cpp | 163 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in Create() argument 169 if (!supportedTarget(ES.getTargetTriple())) in Create() 171 ES.getTargetTriple().str(), in Create() 174 auto &EPC = ES.getExecutorProcessControl(); in Create() 194 RuntimeAliases = standardPlatformAliases(ES); in Create() 200 auto &HostFuncJD = ES.createBareJITDylib("$<PlatformRuntimeHostFuncJD>"); in Create() 204 absoluteSymbols({{ES.intern("__orc_rt_jit_dispatch"), in Create() 207 {ES.intern("__orc_rt_jit_dispatch_ctx"), in Create() 217 ES, ObjLinkingLayer, PlatformJD, std::move(*OrcRuntimeArchiveGenerator), in Create() 226 COFFPlatform::Create(ExecutionSession &ES, ObjectLinkingLaye argument 257 addAliases(ExecutionSession & ES,SymbolAliasMap & Aliases,ArrayRef<std::pair<const char *,const char * >> AL) addAliases() argument 344 standardPlatformAliases(ExecutionSession & ES) standardPlatformAliases() argument 385 COFFPlatform(ExecutionSession & ES,ObjectLinkingLayer & ObjLinkingLayer,JITDylib & PlatformJD,std::unique_ptr<StaticLibraryDefinitionGenerator> OrcRuntimeGenerator,std::unique_ptr<MemoryBuffer> OrcRuntimeArchiveBuffer,std::unique_ptr<object::Archive> OrcRuntimeArchive,LoadDynamicLibrary LoadDynLibrary,bool StaticVCRuntime,const char * VCRuntimePath,Error & Err) COFFPlatform() argument [all...] |
H A D | COFFVCRuntimeSupport.cpp | 23 COFFVCRuntimeBootstrapper::Create(ExecutionSession &ES, in Create() argument 27 new COFFVCRuntimeBootstrapper(ES, ObjLinkingLayer, RuntimePath)); in Create() 31 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in COFFVCRuntimeBootstrapper() argument 33 : ES(ES), ObjLinkingLayer(ObjLinkingLayer) { in COFFVCRuntimeBootstrapper() 114 ES, LookupKind::Static, makeJITDylibSearchOrder(&JD), in initializeStaticVCRuntime() 115 {{ES.intern("__scrt_initialize_crt"), &jit_scrt_initialize}, in initializeStaticVCRuntime() 116 {ES.intern("__scrt_dllmain_before_initialize_c"), in initializeStaticVCRuntime() 118 {ES.intern("?__scrt_initialize_type_info@@YAXXZ"), in initializeStaticVCRuntime() 120 {ES.intern("__scrt_initialize_default_local_stdio_options"), in initializeStaticVCRuntime() 125 if (auto Res = ES.getExecutorProcessControl().runAsVoidFunction(Addr)) in initializeStaticVCRuntime() [all …]
|
H A D | ELFNixPlatform.cpp | 116 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in Create() 121 if (!supportedTarget(ES.getTargetTriple())) in Create() 123 ES.getTargetTriple().str(), in Create() 126 auto &EPC = ES.getExecutorProcessControl(); in Create() 130 auto StandardRuntimeAliases = standardPlatformAliases(ES, PlatformJD); in Create() 142 absoluteSymbols({{ES.intern("__orc_rt_jit_dispatch"), in Create() 145 {ES.intern("__orc_rt_jit_dispatch_ctx"), in Create() 153 ES, ObjLinkingLayer, PlatformJD, std::move(OrcRuntime), Err)); in Create() 160 ELFNixPlatform::Create(ExecutionSession &ES, in Create() 171 return Create(ES, ObjLinkingLaye in teardownJITDylib() 105 Create(ExecutionSession & ES,ObjectLinkingLayer & ObjLinkingLayer,JITDylib & PlatformJD,std::unique_ptr<DefinitionGenerator> OrcRuntime,std::optional<SymbolAliasMap> RuntimeAliases) Create() argument 149 Create(ExecutionSession & ES,ObjectLinkingLayer & ObjLinkingLayer,JITDylib & PlatformJD,const char * OrcRuntimePath,std::optional<SymbolAliasMap> RuntimeAliases) Create() argument 194 addAliases(ExecutionSession & ES,SymbolAliasMap & Aliases,ArrayRef<std::pair<const char *,const char * >> AL) addAliases() argument 205 standardPlatformAliases(ExecutionSession & ES,JITDylib & PlatformJD) standardPlatformAliases() argument 248 ELFNixPlatform(ExecutionSession & ES,ObjectLinkingLayer & ObjLinkingLayer,JITDylib & PlatformJD,std::unique_ptr<DefinitionGenerator> OrcRuntimeGenerator,Error & Err) ELFNixPlatform() argument [all...] |
H A D | LazyReexports.cpp | 19 LazyCallThroughManager::LazyCallThroughManager(ExecutionSession &ES, in LazyCallThroughManager() argument 22 : ES(ES), ErrorHandlerAddr(ErrorHandlerAddr), TP(TP) {} in LazyCallThroughManager() 41 ES.reportError(std::move(Err)); in reportCallThroughError() 99 ES.lookup(LookupKind::Static, in resolveTrampolineLandingAddress() 107 createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES, in createLocalLazyCallThroughManager() argument 117 return LocalLazyCallThroughManager::Create<OrcAArch64>(ES, in createLocalLazyCallThroughManager() 121 return LocalLazyCallThroughManager::Create<OrcI386>(ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager() 125 ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager() 128 return LocalLazyCallThroughManager::Create<OrcMips32Be>(ES, in createLocalLazyCallThroughManager() 132 return LocalLazyCallThroughManager::Create<OrcMips32Le>(ES, in createLocalLazyCallThroughManager() [all …]
|
H A D | DebugObjectManagerPlugin.cpp | 119 ExecutionSession &ES) in DebugObject() argument 120 : MemMgr(MemMgr), JD(JD), ES(ES), Flags(DebugObjectFlags{}) {} in DebugObject() 139 ES.reportError(std::move(Err)); in ~DebugObject() 156 ExecutionSession &ES; member in llvm::orc::DebugObject 191 Create(MemoryBufferRef Buffer, JITLinkContext &Ctx, ExecutionSession &ES); 210 const JITLinkDylib *JD, ExecutionSession &ES); 217 ExecutionSession &ES) in ELFDebugObject() argument 218 : DebugObject(MemMgr, JD, ES), Buffer(std::move(Buffer)) { in ELFDebugObject() 255 const JITLinkDylib *JD, ExecutionSession &ES) { in CreateArchType() argument 260 new ELFDebugObject(CopyBuffer(Buffer, Err), MemMgr, JD, ES)); in CreateArchType() [all …]
|
H A D | LLJIT.cpp | 315 auto &ES = getExecutionSession(); in getInitializers() local 316 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getInitializers() 336 auto &ES = getExecutionSession(); in getDeinitializers() local 343 if (auto Err = ES.runSessionLocked([&]() -> Error { in getDeinitializers() 373 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getDeinitializers() 611 auto &ES = J.getExecutionSession(); in initialize() local 615 if (auto WrapperAddr = ES.lookup( in initialize() 617 return ES.callSPSWrapper<SPSDLOpenSig>(WrapperAddr->getAddress(), in initialize() 628 auto &ES = J.getExecutionSession(); in deinitialize() local 632 if (auto WrapperAddr = ES.lookup( in deinitialize() [all …]
|
H A D | ObjectLinkingLayer.cpp | 93 static Interface scanLinkGraph(ExecutionSession &ES, LinkGraph &G) { in scanLinkGraph() argument 103 LGI.SymbolFlags[ES.intern(Sym->getName())] = in scanLinkGraph() 113 LGI.InitSymbol = makeInitSymbol(ES, G); in scanLinkGraph() 118 static SymbolStringPtr makeInitSymbol(ExecutionSession &ES, LinkGraph &G) { in makeInitSymbol() argument 122 return ES.intern(InitSymString); in makeInitSymbol() 194 auto &ES = Layer.getExecutionSession(); in lookup() local 207 LookupSet.add(ES.intern(KV.first), LookupFlags); in lookup() 223 ES.lookup(LookupKind::Static, LinkOrder, std::move(LookupSet), in lookup() 234 auto &ES = Layer.getExecutionSession(); in notifyResolved() local 242 auto InternedName = ES.intern(Sym->getName()); in notifyResolved() [all …]
|
H A D | RTDyldObjectLinkingLayer.cpp | 24 auto &ES = MR.getTargetJITDylib().getExecutionSession(); in lookup() local 29 InternedSymbols.add(ES.intern(S)); in lookup() 51 ES.lookup( in lookup() 83 ExecutionSession &ES, GetMemoryManagerFunction GetMemoryManager) in RTDyldObjectLinkingLayer() argument 84 : BaseT(ES), GetMemoryManager(std::move(GetMemoryManager)) { in RTDyldObjectLinkingLayer() 85 ES.registerResourceManager(*this); in RTDyldObjectLinkingLayer() 97 auto &ES = getExecutionSession(); in emit() local 119 ES.reportError(SymType.takeError()); in emit() 127 ES.reportError(SymFlagsOrErr.takeError()); in emit() 138 ES.reportError(SymName.takeError()); in emit() [all …]
|
H A D | Mangling.cpp | 19 MangleAndInterner::MangleAndInterner(ExecutionSession &ES, const DataLayout &DL) in MangleAndInterner() argument 20 : ES(ES), DL(DL) {} in MangleAndInterner() 28 return ES.intern(MangledName); in operator ()() 31 void IRSymbolMapper::add(ExecutionSession &ES, const ManglingOptions &MO, in add() argument 38 MangleAndInterner Mangle(ES, GVs[0]->getDataLayout()); in add()
|
H A D | CompileOnDemandLayer.cpp | 74 PartitioningIRMaterializationUnit(ExecutionSession &ES, in PartitioningIRMaterializationUnit() argument 78 : IRMaterializationUnit(ES, MO, std::move(TSM)), Parent(Parent) {} in PartitioningIRMaterializationUnit() 116 ExecutionSession &ES, IRLayer &BaseLayer, LazyCallThroughManager &LCTMgr, in CompileOnDemandLayer() argument 118 : IRLayer(ES, BaseLayer.getManglingOptions()), BaseLayer(BaseLayer), in CompileOnDemandLayer() 133 auto &ES = getExecutionSession(); in emit() local 159 ES, *getManglingOptions(), std::move(TSM), *this))) { in emit() 160 ES.reportError(std::move(Err)); in emit() 268 auto &ES = getExecutionSession(); in emitPartition() local 323 MangleAndInterner Mangle(ES, M.getDataLayout()); in emitPartition() 325 IRSymbolMapper::add(ES, *getManglingOptions(), in emitPartition() [all …]
|
H A D | EPCEHFrameRegistrar.cpp | 20 EPCEHFrameRegistrar::Create(ExecutionSession &ES) { in Create() argument 26 if (auto Err = ES.getExecutorProcessControl().getBootstrapSymbols( in Create() 34 ES, RegisterEHFrameSectionWrapper, DeregisterEHFrameSectionWrapper); in Create() 38 return ES.callSPSWrapper<void(SPSExecutorAddrRange)>( in Create() 44 return ES.callSPSWrapper<void(SPSExecutorAddrRange)>( in Create()
|
H A D | IndirectionUtils.cpp | 70 ES.intern(std::string("cc") + std::to_string(++NextCallbackId)); in getCompileCallback() 95 ES.reportError( in executeCompileCallback() 105 ES.lookup(makeJITDylibSearchOrder( in executeCompileCallback() 113 ES.reportError(Sym.takeError()); in executeCompileCallback() 119 createLocalCompileCallbackManager(const Triple &T, ExecutionSession &ES, in createLocalCompileCallbackManager() argument 129 return CCMgrT::Create(ES, ErrorHandlerAddress); in createLocalCompileCallbackManager() 134 return CCMgrT::Create(ES, ErrorHandlerAddress); in createLocalCompileCallbackManager() 139 return CCMgrT::Create(ES, ErrorHandlerAddress); in createLocalCompileCallbackManager() 144 return CCMgrT::Create(ES, ErrorHandlerAddress); in createLocalCompileCallbackManager() 148 return CCMgrT::Create(ES, ErrorHandlerAddress); in createLocalCompileCallbackManager() [all …]
|
H A D | Layer.cpp | 33 ExecutionSession &ES, const IRSymbolMapper::ManglingOptions &MO, in IRMaterializationUnit() argument 39 MangleAndInterner Mangle(ES, this->TSM.getModuleUnlocked()->getDataLayout()); in IRMaterializationUnit() 94 InitSymbol = ES.intern(InitSymbolName); in IRMaterializationUnit() 152 auto &ES = R->getTargetJITDylib().getExecutionSession(); in materialize() local 156 LLVM_DEBUG(ES.runSessionLocked( in materialize() 159 LLVM_DEBUG(ES.runSessionLocked([&]() { in materialize() 166 ObjectLayer::ObjectLayer(ExecutionSession &ES) : ES(ES) {} in ObjectLayer() argument
|
H A D | EPCDebugObjectRegistrar.cpp | 20 ExecutionSession &ES, in createJITLoaderGDBRegistrar() argument 22 auto &EPC = ES.getExecutorProcessControl(); in createJITLoaderGDBRegistrar() 49 return std::make_unique<EPCDebugObjectRegistrar>(ES, RegisterAddr); in createJITLoaderGDBRegistrar() 54 return ES.callSPSWrapper<void(shared::SPSExecutorAddrRange, bool)>( in registerDebugObject()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | MachOPlatform.h | 136 Create(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, 144 Create(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, 150 ExecutionSession &getExecutionSession() const { return ES; } in getExecutionSession() 171 static SymbolAliasMap standardPlatformAliases(ExecutionSession &ES); 303 MachOPlatform(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, 332 ExecutionSession &ES; variable 337 SymbolStringPtr MachOHeaderStartSymbol = ES.intern("___dso_handle"); 346 ES.intern("___orc_rt_macho_platform_bootstrap")}; 348 ES.intern("___orc_rt_macho_platform_shutdown")}; 350 ES.intern("___orc_rt_macho_register_ehframe_section")}; [all …]
|
H A D | Layer.h | 37 IRMaterializationUnit(ExecutionSession &ES, 60 static SymbolStringPtr getInitSymbol(ExecutionSession &ES, 69 IRLayer(ExecutionSession &ES, const IRSymbolMapper::ManglingOptions *&MO) in IRLayer() argument 70 : ES(ES), MO(MO) {} in IRLayer() 75 ExecutionSession &getExecutionSession() { return ES; } in getExecutionSession() 114 ExecutionSession &ES; variable 137 ObjectLayer(ExecutionSession &ES); 141 ExecutionSession &getExecutionSession() { return ES; } in getExecutionSession() 170 ExecutionSession &ES;
|
H A D | EPCEHFrameRegistrar.h | 36 Create(ExecutionSession &ES); 40 EPCEHFrameRegistrar(ExecutionSession &ES, 43 : ES(ES), RegisterEHFrameSectionWrapper(RegisterEHFrameSectionWrapper), in EPCEHFrameRegistrar() 50 ExecutionSession &ES; 41 EPCEHFrameRegistrar(ExecutionSession & ES,ExecutorAddr RegisterEHFrameWrapperFnAddr,ExecutorAddr DeregisterEHFRameWrapperFnAddr) EPCEHFrameRegistrar() argument
|
H A D | EPCDebugObjectRegistrar.h | 42 EPCDebugObjectRegistrar(ExecutionSession &ES, ExecutorAddr RegisterFn) 43 : ES(ES), RegisterFn(RegisterFn) {} in EPCDebugObjectRegistrar() argument 49 ExecutionSession &ES; 61 ExecutionSession &ES,
|
H A D | EPCDynamicLibrarySearchGenerator.h | 40 ExecutionSession &ES, tpctypes::DylibHandle H, 43 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)), 50 Load(ExecutionSession &ES, const char *LibraryPath, 57 GetForTargetProcess(ExecutionSession &ES, 60 return Load(ES, nullptr, std::move(Allow), std::move(AddAbsoluteSymbols));
|
H A D | LazyReexports.h | 43 LazyCallThroughManager(ExecutionSession &ES, ExecutorAddr ErrorHandlerAddr, 78 ExecutionSession &ES; variable 90 LocalLazyCallThroughManager(ExecutionSession &ES, in LocalLazyCallThroughManager() argument 92 : LazyCallThroughManager(ES, ErrorHandlerAddr, nullptr) {} in LocalLazyCallThroughManager() 118 Create(ExecutionSession &ES, ExecutorAddr ErrorHandlerAddr) { in Create() argument 120 new LocalLazyCallThroughManager(ES, ErrorHandlerAddr)); in Create() 132 createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES,
|
H A D | Speculation.h | 109 ES.lookup( in launchCompile() 116 ES.reportError(std::move(Err)); in launchCompile() 123 : AliaseeImplTable(Impl), ES(ref), GlobalSpecMap(0) {} in Speculator() 153 ES.lookup( in registerSymbols() 161 ExecutionSession &getES() { return ES; } in getES() 167 ExecutionSession &ES; variable 178 IRSpeculationLayer(ExecutionSession &ES, IRLayer &BaseLayer, Speculator &Spec, in IRSpeculationLayer() argument 180 : IRLayer(ES, BaseLayer.getManglingOptions()), NextLayer(BaseLayer), in IRSpeculationLayer()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PseudoSourceValue.cpp | 101 const char *ES, const TargetMachine &TM) in ExternalSymbolPseudoSourceValue() argument 102 : CallEntryPseudoSourceValue(ExternalSymbolCallEntry, TM), ES(ES) {} in ExternalSymbolPseudoSourceValue() 147 PseudoSourceValueManager::getExternalSymbolCallEntry(const char *ES) { in getExternalSymbolCallEntry() argument 149 ExternalCallEntries[ES]; in getExternalSymbolCallEntry() 151 E = std::make_unique<ExternalSymbolPseudoSourceValue>(ES, TM); in getExternalSymbolCallEntry()
|