| /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/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ObjectFileInterface.cpp | 24 void addInitSymbol(MaterializationUnit::Interface &I, ExecutionSession &ES, in addInitSymbol() argument 33 I.InitSymbol = ES.intern(InitSymString); in addInitSymbol() 40 getMachOObjectFileSymbolInfo(ExecutionSession &ES, in getMachOObjectFileSymbolInfo() argument 76 I.SymbolFlags[ES.intern(*Name)] = std::move(*SymFlags); in getMachOObjectFileSymbolInfo() 82 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo() 88 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo() 97 getELFObjectFileSymbolInfo(ExecutionSession &ES, in getELFObjectFileSymbolInfo() argument 134 I.SymbolFlags[ES.intern(std::move(*Name))] = std::move(*SymFlags); in getELFObjectFileSymbolInfo() 141 addInitSymbol(I, ES, Obj.getFileName()); in getELFObjectFileSymbolInfo() 151 getCOFFObjectFileSymbolInfo(ExecutionSession &ES, in getCOFFObjectFileSymbolInfo() argument [all …]
|
| H A D | GetDylibInterface.cpp | 20 Expected<SymbolNameSet> getDylibInterfaceFromDylib(ExecutionSession &ES, in getDylibInterfaceFromDylib() argument 22 auto CPUType = MachO::getCPUType(ES.getTargetTriple()); in getDylibInterfaceFromDylib() 26 auto CPUSubType = MachO::getCPUSubType(ES.getTargetTriple()); in getDylibInterfaceFromDylib() 56 ES.getTargetTriple().str(), in getDylibInterfaceFromDylib() 69 Symbols.insert(ES.intern(*Name)); in getDylibInterfaceFromDylib() 77 Expected<SymbolNameSet> getDylibInterfaceFromTapiFile(ExecutionSession &ES, in getDylibInterfaceFromTapiFile() argument 90 auto CPUType = MachO::getCPUType(ES.getTargetTriple()); in getDylibInterfaceFromTapiFile() 94 auto CPUSubType = MachO::getCPUSubType(ES.getTargetTriple()); in getDylibInterfaceFromTapiFile() 105 Symbols.insert(ES.intern(Sym->getName())); in getDylibInterfaceFromTapiFile() 110 Expected<SymbolNameSet> getDylibInterface(ExecutionSession &ES, Twine Path) { in getDylibInterface() argument [all …]
|
| H A D | COFFVCRuntimeSupport.cpp | 24 COFFVCRuntimeBootstrapper::Create(ExecutionSession &ES, in Create() argument 28 new COFFVCRuntimeBootstrapper(ES, ObjLinkingLayer, RuntimePath)); in Create() 32 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in COFFVCRuntimeBootstrapper() argument 34 : ES(ES), ObjLinkingLayer(ObjLinkingLayer) { in COFFVCRuntimeBootstrapper() 116 ES, LookupKind::Static, makeJITDylibSearchOrder(&JD), in initializeStaticVCRuntime() 117 {{ES.intern("__scrt_initialize_crt"), &jit_scrt_initialize}, in initializeStaticVCRuntime() 118 {ES.intern("__scrt_dllmain_before_initialize_c"), in initializeStaticVCRuntime() 120 {ES.intern("?__scrt_initialize_type_info@@YAXXZ"), in initializeStaticVCRuntime() 122 {ES.intern("__scrt_initialize_default_local_stdio_options"), in initializeStaticVCRuntime() 127 if (auto Res = ES.getExecutorProcessControl().runAsVoidFunction(Addr)) in initializeStaticVCRuntime() [all …]
|
| H A D | COFFPlatform.cpp | 160 auto &ES = ObjLinkingLayer.getExecutionSession(); in Create() local 163 if (!supportedTarget(ES.getTargetTriple())) in Create() 165 ES.getTargetTriple().str(), in Create() 168 auto &EPC = ES.getExecutorProcessControl(); in Create() 190 RuntimeAliases = standardPlatformAliases(ES); in Create() 196 auto &HostFuncJD = ES.createBareJITDylib("$<PlatformRuntimeHostFuncJD>"); in Create() 200 absoluteSymbols({{ES.intern("__orc_rt_jit_dispatch"), in Create() 203 {ES.intern("__orc_rt_jit_dispatch_ctx"), in Create() 254 static void addAliases(ExecutionSession &ES, SymbolAliasMap &Aliases, in addAliases() argument 257 auto AliasName = ES.intern(KV.first); in addAliases() [all …]
|
| H A D | DebugObjectManagerPlugin.cpp | 117 ExecutionSession &ES) in DebugObject() argument 118 : MemMgr(MemMgr), JD(JD), ES(ES), Flags(DebugObjectFlags{}) {} in DebugObject() 137 ES.reportError(std::move(Err)); in ~DebugObject() 152 ExecutionSession &ES; member in llvm::orc::DebugObject 189 Create(MemoryBufferRef Buffer, JITLinkContext &Ctx, ExecutionSession &ES); 208 const JITLinkDylib *JD, ExecutionSession &ES); 215 ExecutionSession &ES) in ELFDebugObject() argument 216 : DebugObject(MemMgr, JD, ES), Buffer(std::move(Buffer)) { in ELFDebugObject() 253 const JITLinkDylib *JD, ExecutionSession &ES) { in CreateArchType() argument 258 new ELFDebugObject(CopyBuffer(Buffer, Err), MemMgr, JD, ES)); in CreateArchType() [all …]
|
| H A D | LLJIT.cpp | 317 auto &ES = getExecutionSession(); in getInitializers() local 318 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getInitializers() 338 auto &ES = getExecutionSession(); in getDeinitializers() local 345 if (auto Err = ES.runSessionLocked([&]() -> Error { in getDeinitializers() 375 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getDeinitializers() 615 auto &ES = J.getExecutionSession(); in initialize() local 620 const Triple &TT = ES.getTargetTriple(); in initialize() 630 ES.lookup(MainSearchOrder, J.mangleAndIntern(WrapperToCall))) { in initialize() 633 auto E = ES.callSPSWrapper<SPSDLUpdateSig>(WrapperAddr->getAddress(), in initialize() 641 return ES.callSPSWrapper<SPSDLOpenSig>(WrapperAddr->getAddress(), in initialize() [all …]
|
| H A D | ELFNixPlatform.cpp | 43 auto &ES = MOP.getExecutionSession(); in createPlatformGraph() local 45 std::move(Name), ES.getSymbolStringPool(), ES.getTargetTriple(), in createPlatformGraph() 136 auto &ES = ENP.getExecutionSession(); in materialize() local 140 switch (ES.getTargetTriple().getArch()) { in materialize() 162 "<DSOHandleMU>", ES.getSymbolStringPool(), ES.getTargetTriple(), in materialize() 209 auto &ES = ObjLinkingLayer.getExecutionSession(); in Create() local 212 if (!supportedTarget(ES.getTargetTriple())) in Create() 214 ES.getTargetTriple().str(), in Create() 217 auto &EPC = ES.getExecutorProcessControl(); in Create() 221 auto StandardRuntimeAliases = standardPlatformAliases(ES, PlatformJD); in Create() [all …]
|
| H A D | LazyReexports.cpp | 21 LazyCallThroughManager::LazyCallThroughManager(ExecutionSession &ES, in LazyCallThroughManager() argument 24 : ES(ES), ErrorHandlerAddr(ErrorHandlerAddr), TP(TP) {} in LazyCallThroughManager() 43 ES.reportError(std::move(Err)); in reportCallThroughError() 101 ES.lookup(LookupKind::Static, in resolveTrampolineLandingAddress() 109 createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES, in createLocalLazyCallThroughManager() argument 119 return LocalLazyCallThroughManager::Create<OrcAArch64>(ES, in createLocalLazyCallThroughManager() 123 return LocalLazyCallThroughManager::Create<OrcI386>(ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager() 127 ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager() 130 return LocalLazyCallThroughManager::Create<OrcMips32Be>(ES, in createLocalLazyCallThroughManager() 134 return LocalLazyCallThroughManager::Create<OrcMips32Le>(ES, in createLocalLazyCallThroughManager() [all …]
|
| H A D | JITLinkRedirectableSymbolManager.cpp | 26 auto &ES = ObjLinkingLayer.getExecutionSession(); in emitRedirectableSymbols() local 29 ES.getSymbolStringPool(), ES.getTargetTriple(), SubtargetFeatures(), in emitRedirectableSymbols() 44 auto PtrName = ES.intern((*Name + StubSuffix).str()); in emitRedirectableSymbols() 59 ES.reportError(std::move(Err)); in emitRedirectableSymbols() 68 auto &ES = ObjLinkingLayer.getExecutionSession(); in redirect() local 72 auto PtrName = ES.intern((*StubName + StubSuffix).str()); in redirect() 77 ES.lookup({{&JD, JITDylibLookupFlags::MatchAllSymbols}}, std::move(LS)); in redirect()
|
| H A D | IRPartitionLayer.cpp | 70 PartitioningIRMaterializationUnit(ExecutionSession &ES, in PartitioningIRMaterializationUnit() argument 74 : IRMaterializationUnit(ES, MO, std::move(TSM)), Parent(Parent) {} in PartitioningIRMaterializationUnit() 102 IRPartitionLayer::IRPartitionLayer(ExecutionSession &ES, IRLayer &BaseLayer) in IRPartitionLayer() argument 103 : IRLayer(ES, BaseLayer.getManglingOptions()), BaseLayer(BaseLayer) {} in IRPartitionLayer() 123 auto &ES = getExecutionSession(); in emit() local 131 ES, *getManglingOptions(), std::move(TSM), *this))) { in emit() 132 ES.reportError(std::move(Err)); in emit() 192 auto &ES = getExecutionSession(); in emitPartition() local 247 MangleAndInterner Mangle(ES, M.getDataLayout()); in emitPartition() 249 IRSymbolMapper::add(ES, *getManglingOptions(), PromotedGlobals, in emitPartition() [all …]
|
| H A D | RTDyldObjectLinkingLayer.cpp | 27 auto &ES = MR.getTargetJITDylib().getExecutionSession(); in lookup() local 32 InternedSymbols.add(ES.intern(S)); in lookup() 54 ES.lookup( in lookup() 86 ExecutionSession &ES, GetMemoryManagerFunction GetMemoryManager) in RTDyldObjectLinkingLayer() argument 87 : BaseT(ES), GetMemoryManager(std::move(GetMemoryManager)) { in RTDyldObjectLinkingLayer() 88 ES.registerResourceManager(*this); in RTDyldObjectLinkingLayer() 103 auto &ES = getExecutionSession(); in emit() local 125 ES.reportError(SymType.takeError()); in emit() 133 ES.reportError(SymFlagsOrErr.takeError()); in emit() 144 ES.reportError(SymName.takeError()); in emit() [all …]
|
| H A D | Mangling.cpp | 18 MangleAndInterner::MangleAndInterner(ExecutionSession &ES, const DataLayout &DL) in MangleAndInterner() argument 19 : ES(ES), DL(DL) {} in MangleAndInterner() 27 return ES.intern(MangledName); in operator ()() 30 void IRSymbolMapper::add(ExecutionSession &ES, const ManglingOptions &MO, in add() argument 37 MangleAndInterner Mangle(ES, GVs[0]->getDataLayout()); in add()
|
| 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() 95 InitSymbol = ES.intern(InitSymbolName); in IRMaterializationUnit() 153 auto &ES = R->getTargetJITDylib().getExecutionSession(); in materialize() local 157 LLVM_DEBUG(ES.runSessionLocked( in materialize() 160 LLVM_DEBUG(ES.runSessionLocked([&]() { in materialize() 167 ObjectLayer::ObjectLayer(ExecutionSession &ES) : ES(ES) {} in ObjectLayer() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ObjectLinkingLayer.h | 56 ObjectLinkingLayer(ExecutionSession &ES) in ObjectLinkingLayer() argument 57 : LinkGraphLinkingLayer(ES), BaseObjectLayer(ES) {} in ObjectLinkingLayer() 60 ObjectLinkingLayer(ExecutionSession &ES, in ObjectLinkingLayer() argument 62 : LinkGraphLinkingLayer(ES, MemMgr), BaseObjectLayer(ES) {} in ObjectLinkingLayer() 68 ObjectLinkingLayer(ExecutionSession &ES, in ObjectLinkingLayer() argument 70 : LinkGraphLinkingLayer(ES, std::move(MemMgr)), BaseObjectLayer(ES) {} in ObjectLinkingLayer()
|
| H A D | UnwindInfoRegistrationPlugin.h | 24 UnwindInfoRegistrationPlugin(ExecutionSession &ES, ExecutorAddr Register, in UnwindInfoRegistrationPlugin() argument 26 : ES(ES), Register(Register), Deregister(Deregister) { in UnwindInfoRegistrationPlugin() 27 DSOBaseName = ES.intern("__jitlink$libunwind_dso_base"); in UnwindInfoRegistrationPlugin() 31 Create(ExecutionSession &ES, ExecutorAddr Register, ExecutorAddr Deregister); 34 Create(ExecutionSession &ES); 58 ExecutionSession &ES; variable
|
| H A D | Layer.h | 38 IRMaterializationUnit(ExecutionSession &ES, 61 static SymbolStringPtr getInitSymbol(ExecutionSession &ES, 70 IRLayer(ExecutionSession &ES, const IRSymbolMapper::ManglingOptions *&MO) in IRLayer() argument 71 : ES(ES), MO(MO) {} in IRLayer() 76 ExecutionSession &getExecutionSession() { return ES; } in getExecutionSession() 115 ExecutionSession &ES; variable 138 ObjectLayer(ExecutionSession &ES); 142 ExecutionSession &getExecutionSession() { return ES; } in getExecutionSession() 171 ExecutionSession &ES;
|
| H A D | LazyReexports.h | 45 LLVM_ABI LazyCallThroughManager(ExecutionSession &ES, 82 ExecutionSession &ES; variable 94 LocalLazyCallThroughManager(ExecutionSession &ES, in LocalLazyCallThroughManager() argument 96 : LazyCallThroughManager(ES, ErrorHandlerAddr, nullptr) {} in LocalLazyCallThroughManager() 122 Create(ExecutionSession &ES, ExecutorAddr ErrorHandlerAddr) { in Create() argument 124 new LocalLazyCallThroughManager(ES, ErrorHandlerAddr)); in Create() 136 createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES, 257 ExecutionSession &ES; variable 281 Create(ExecutionSession &ES, RecordExecutionFunction RecordExec = {}) { 284 make_shared_helper(ExecutionSession &ES, in make_shared_helper() argument [all …]
|
| H A D | MachOPlatform.h | 157 ExecutionSession &getExecutionSession() const { return ES; } in getExecutionSession() 178 static SymbolAliasMap standardPlatformAliases(ExecutionSession &ES); 335 ExecutionSession &ES; variable 340 SymbolStringPtr MachOHeaderStartSymbol = ES.intern("___dso_handle"); 349 ES.intern("___orc_rt_macho_platform_bootstrap")}; 351 ES.intern("___orc_rt_macho_platform_shutdown")}; 353 ES.intern("___orc_rt_macho_register_ehframe_section")}; 355 ES.intern("___orc_rt_macho_deregister_ehframe_section")}; 357 ES.intern("___orc_rt_macho_register_jitdylib")}; 359 ES.intern("___orc_rt_macho_deregister_jitdylib")}; [all …]
|
| H A D | EPCDynamicLibrarySearchGenerator.h | 41 ExecutionSession &ES, tpctypes::DylibHandle H, 44 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)), 55 ExecutionSession &ES, SymbolPredicate Allow, 57 : EPC(ES.getExecutorProcessControl()), Allow(std::move(Allow)), 65 Load(ExecutionSession &ES, const char *LibraryPath, 72 GetForTargetProcess(ExecutionSession &ES, 75 return Load(ES, nullptr, std::move(Allow), std::move(AddAbsoluteSymbols));
|
| H A D | EPCDebugObjectRegistrar.h | 43 EPCDebugObjectRegistrar(ExecutionSession &ES, ExecutorAddr RegisterFn) in EPCDebugObjectRegistrar() argument 44 : ES(ES), RegisterFn(RegisterFn) {} in EPCDebugObjectRegistrar() 50 ExecutionSession &ES; 63 ExecutionSession &ES,
|
| H A D | ELFNixPlatform.h | 120 ExecutionSession &getExecutionSession() const { return ES; } in getExecutionSession() 132 static Expected<SymbolAliasMap> standardPlatformAliases(ExecutionSession &ES, 243 ExecutionSession &ES; variable 250 ES.intern("__orc_rt_elfnix_platform_bootstrap")}; 252 ES.intern("__orc_rt_elfnix_platform_shutdown")}; 254 ES.intern("__orc_rt_elfnix_register_jitdylib")}; 256 ES.intern("__orc_rt_elfnix_deregister_jitdylib")}; 258 ES.intern("__orc_rt_elfnix_register_object_sections")}; 260 ES.intern("__orc_rt_elfnix_deregister_object_sections")}; 262 ES.intern("__orc_rt_elfnix_register_init_sections")}; [all …]
|
| H A D | Speculation.h | 110 ES.lookup( in launchCompile() 117 ES.reportError(std::move(Err)); in launchCompile() 124 : AliaseeImplTable(Impl), ES(ref), GlobalSpecMap(0) {} in Speculator() 154 ES.lookup( in registerSymbols() 162 ExecutionSession &getES() { return ES; } in getES() 168 ExecutionSession &ES; variable 179 IRSpeculationLayer(ExecutionSession &ES, IRLayer &BaseLayer, Speculator &Spec, in IRSpeculationLayer() argument 181 : 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()
|