mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
Rework r218304, "ExecutionEngineTests: Call llvm_shutdown() on exit for ManagedStatic introduced in r218151."
r218304 caused crash on msvc builder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7cde53f70d
commit
a6c580e834
@ -17,11 +17,12 @@
|
|||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
static llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
class ExecutionEngineTest : public testing::Test {
|
class ExecutionEngineTest : public testing::Test {
|
||||||
|
private:
|
||||||
|
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ExecutionEngineTest() {
|
ExecutionEngineTest() {
|
||||||
auto Owner = make_unique<Module>("<main>", getGlobalContext());
|
auto Owner = make_unique<Module>("<main>", getGlobalContext());
|
||||||
|
Loading…
Reference in New Issue
Block a user