ExecutionEngineTests: Call llvm_shutdown() on exit for ManagedStatic introduced in r218151.
llvm-svn: 218304
This commit is contained in:
@@ -12,10 +12,13 @@
|
||||
#include "llvm/IR/GlobalVariable.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
static llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
|
||||
|
||||
namespace {
|
||||
|
||||
class ExecutionEngineTest : public testing::Test {
|
||||
|
||||
Reference in New Issue
Block a user