forked from OSchip/llvm-project
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:
parent
d103026c78
commit
dbf2c21e84
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue