15Expected<std::unique_ptr<EPCGenericMemoryAccess>>
34 return std::move(Err);
35 return std::make_unique<EPCGenericMemoryAccess>(ES, std::move(Fns));
Tagged union holding either a T or a Error.
An ExecutionSession represents a running JIT program.
JITDylib & getBootstrapJITDylib()
Returns a reference to the bootstrap JITDylib.
Represents a JIT'd dynamic library.
ExecutionSession & getExecutionSession() const
Get a reference to the ExecutionSession for this JITDylib.
LLVM_ABI Expected< std::unique_ptr< EPCGenericMemoryAccess > > createEPCGenericMemoryAccess(JITDylib &JD)
Create an EPCGenericMemoryAccess that reaches the memory-access wrappers in the given JITDylib via th...
ProxyInit< FnT > proxyInit(Proxy< FnT > *P, typename Proxy< FnT >::DispatchFn Dispatch, StringRef Name, SymbolLookupFlags LookupFlags=SymbolLookupFlags::RequiredSymbol)
Error buildProxies(JITDylib &JD)
buildProxies base case.
Proxies for the executor-side memory-access functions.
WriteBuffersProxy WriteBuffers
ReadUInt8sProxy ReadUInt8s
ReadUInt32sProxy ReadUInt32s
WriteUInt64sProxy WriteUInt64s
ReadUInt64sProxy ReadUInt64s
WriteUInt16sProxy WriteUInt16s
ReadUInt16sProxy ReadUInt16s
ReadBuffersProxy ReadBuffers
WritePointersProxy WritePointers
WriteUInt32sProxy WriteUInt32s
ReadPointersProxy ReadPointers
ReadStringsProxy ReadStrings
WriteUInt8sProxy WriteUInt8s