19#ifndef LLVM_EXECUTIONENGINE_ORC_SPSHANDLERSPEC_H
20#define LLVM_EXECUTIONENGINE_ORC_SPSHANDLERSPEC_H
42 template <
typename HandlerT>
44 return [
H = std::forward<HandlerT>(
H)](
48 ArgBytes.data(), ArgBytes.size(), std::move(Return),
H);
unique_function< void(shared::WrapperFunctionBuffer)> CallControllerReturnFn
Function type for returning results from a call-controller handler.
unique_function< void( CallControllerReturnFn, shared::WrapperFunctionBuffer)> CallControllerHandlerFn
A call-controller handler: handles calls from the executor made via the ORC runtime's call-controller...
A symbol name together with the naming level (SymbolNameKind) it is expressed in, so that a Mangler /...
C++ wrapper function buffer: Same as CWrapperFunctionBuffer but auto-releases memory.
Binds handlers for the call described by Descriptor, which must provide:
static ExecutionSession::CallControllerHandlerFn wrap(HandlerT &&H)
Wrap H as a handler for the call.
static constexpr SymbolNameSpec Name