mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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;
|
||||
|
||||
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
Block a user