llvm/llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp

//===--- ThreadSafeModuleTest.cpp - Test basic use of ThreadSafeModule ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/ExecutionEngine/Orc/ThreadSafeModule.h"
#include "gtest/gtest.h"

#include <atomic>
#include <future>
#include <thread>

usingnamespacellvm;
usingnamespacellvm::orc;

namespace {

TEST(ThreadSafeModuleTest, ContextWhollyOwnedByOneModule) {}

TEST(ThreadSafeModuleTest, ContextOwnershipSharedByTwoModules) {}

TEST(ThreadSafeModuleTest, ContextOwnershipSharedWithClient) {}

TEST(ThreadSafeModuleTest, ThreadSafeModuleMoveAssignment) {}

TEST(ThreadSafeModuleTest, BasicContextLockAPI) {}

TEST(ThreadSafeModuleTest, ContextLockPreservesContext) {}

TEST(ThreadSafeModuleTest, WithModuleDo) {}

TEST(ThreadSafeModuleTest, WithModuleDoConst) {}

TEST(ThreadSafeModuleTest, ConsumingModuleDo) {}

} // end anonymous namespace