#include "MCJITTestBase.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/ExecutionEngine/MCJIT.h"
#include "llvm/ExecutionEngine/ObjectCache.h"
#include "llvm/ExecutionEngine/SectionMemoryManager.h"
#include "llvm/Support/MemoryBuffer.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
class TestObjectCache : public ObjectCache { … };
class MCJITObjectCacheTest : public testing::Test, public MCJITTestBase { … };
TEST_F(MCJITObjectCacheTest, SetNullObjectCache) { … }
TEST_F(MCJITObjectCacheTest, VerifyBasicObjectCaching) { … }
TEST_F(MCJITObjectCacheTest, VerifyLoadFromCache) { … }
TEST_F(MCJITObjectCacheTest, VerifyNonLoadFromCache) { … }
}