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

llvm-svn: 218304
This commit is contained in:
NAKAMURA Takumi 2014-09-23 13:49:51 +00:00
parent d171153f81
commit 4d723baafc
1 changed files with 3 additions and 0 deletions

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 {