ExecutionEngineTests: Call llvm_shutdown() on exit for ManagedStatic introduced in r218151.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218304 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-09-23 13:49:51 +00:00
parent afb2f169a3
commit 0c5fa4797c

View File

@ -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 {