Rework r218304, "ExecutionEngineTests: Call llvm_shutdown() on exit for ManagedStatic introduced in r218151."

r218304 caused crash on msvc builder.

llvm-svn: 218308
This commit is contained in:
NAKAMURA Takumi 2014-09-23 14:41:02 +00:00
parent d103026c78
commit dbf2c21e84
1 changed files with 3 additions and 2 deletions

View File

@ -17,11 +17,12 @@
using namespace llvm;
static llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
namespace {
class ExecutionEngineTest : public testing::Test {
private:
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
protected:
ExecutionEngineTest() {
auto Owner = make_unique<Module>("<main>", getGlobalContext());