Lines Matching refs:ES

152 MachOPlatform::Create(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer,  in Create()  argument
156 auto &EPC = ES.getExecutorProcessControl(); in Create()
166 RuntimeAliases = standardPlatformAliases(ES); in Create()
174 {{ES.intern("___orc_rt_jit_dispatch"), in Create()
177 {ES.intern("___orc_rt_jit_dispatch_ctx"), in Create()
191 new MachOPlatform(ES, ObjLinkingLayer, PlatformJD, in Create()
223 static void addAliases(ExecutionSession &ES, SymbolAliasMap &Aliases, in addAliases() argument
226 auto AliasName = ES.intern(KV.first); in addAliases()
228 Aliases[std::move(AliasName)] = {ES.intern(KV.second), in addAliases()
233 SymbolAliasMap MachOPlatform::standardPlatformAliases(ExecutionSession &ES) { in standardPlatformAliases() argument
235 addAliases(ES, Aliases, requiredCXXAliases()); in standardPlatformAliases()
236 addAliases(ES, Aliases, standardRuntimeUtilityAliases()); in standardPlatformAliases()
278 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in MachOPlatform() argument
281 : ES(ES), ObjLinkingLayer(ObjLinkingLayer), in MachOPlatform()
282 MachOHeaderStartSymbol(ES.intern("___dso_handle")) { in MachOPlatform()
319 WFs[ES.intern("___orc_rt_macho_get_initializers_tag")] = in associateRuntimeSupportFunctions()
320 ES.wrapAsyncWithSPS<GetInitializersSPSSig>( in associateRuntimeSupportFunctions()
325 WFs[ES.intern("___orc_rt_macho_get_deinitializers_tag")] = in associateRuntimeSupportFunctions()
326 ES.wrapAsyncWithSPS<GetDeinitializersSPSSig>( in associateRuntimeSupportFunctions()
331 WFs[ES.intern("___orc_rt_macho_symbol_lookup_tag")] = in associateRuntimeSupportFunctions()
332 ES.wrapAsyncWithSPS<LookupSymbolSPSSig>(this, in associateRuntimeSupportFunctions()
335 return ES.registerJITDispatchHandlers(PlatformJD, std::move(WFs)); in associateRuntimeSupportFunctions()
365 ES.runSessionLocked([&]() { in getInitializersLookupPhase()
391 ES, std::move(NewInitSymbols)); in getInitializersLookupPhase()
400 JITDylib *JD = ES.getJITDylibByName(JDName); in rt_getInitializers()
491 ES.lookup( in rt_lookupSymbol()
493 SymbolLookupSet(ES.intern(MangledName)), SymbolState::Ready, in rt_lookupSymbol()
509 auto Name = ES.intern(KV.first); in bootstrapMachORuntime()
514 auto RuntimeSymbolAddrs = ES.lookup( in bootstrapMachORuntime()
526 ES.callSPSWrapper<void()>(orc_rt_macho_platform_bootstrap.getValue())) in bootstrapMachORuntime()
562 if (auto Err = ES.lookup(SearchOrder, MachOHeaderStartSymbol).takeError()) in registerInitInfo()
595 if (auto Err = ES.callSPSWrapper<shared::SPSError( in registerPerObjectSections()
610 if (auto Err = ES.callSPSWrapper<SPSExpected<uint64_t>(void)>( in createPThreadKey()