#include "llvm/ExecutionEngine/Orc/Core.h"
#include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h"
#include "llvm/Support/MSVCErrorWorkarounds.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
#include <future>
usingnamespacellvm;
usingnamespacellvm::orc;
usingnamespacellvm::orc::shared;
static llvm::orc::shared::CWrapperFunctionResult addWrapper(const char *ArgData,
size_t ArgSize) { … }
static void addAsyncWrapper(unique_function<void(int32_t)> SendResult,
int32_t X, int32_t Y) { … }
static llvm::orc::shared::CWrapperFunctionResult
voidWrapper(const char *ArgData, size_t ArgSize) { … }
TEST(ExecutionSessionWrapperFunctionCalls, RunWrapperTemplate) { … }
TEST(ExecutionSessionWrapperFunctionCalls, RunVoidWrapperAsyncTemplate) { … }
TEST(ExecutionSessionWrapperFunctionCalls, RunNonVoidWrapperAsyncTemplate) { … }
TEST(ExecutionSessionWrapperFunctionCalls, RegisterAsyncHandlerAndRun) { … }