summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-10-28 02:40:04 +0000
committerLang Hames <lhames@gmail.com>2015-10-28 02:40:04 +0000
commit130a7c41526921fde7562d0526e860ade0eb6d78 (patch)
treee9155de99b53b5c24c5ec2d91beaeb8484912d1d /llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
parenta0ac8e4411fbc418c930e793022682a0bb9105f2 (diff)
downloadbcm5719-llvm-130a7c41526921fde7562d0526e860ade0eb6d78.tar.gz
bcm5719-llvm-130a7c41526921fde7562d0526e860ade0eb6d78.zip
[Orc] Re-add C bindings for the Orc APIs, with a fix to remove the union that
was causing builder failures. The bindings were originally added in r251472, and reverted in r251473 due to the builder failures. llvm-svn: 251482
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
index 5fea3c89f86..1b5485d3b33 100644
--- a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
@@ -15,6 +15,8 @@
using namespace llvm;
+bool OrcExecutionTest::NativeTargetInitialized = false;
+
ModuleBuilder::ModuleBuilder(LLVMContext &Context, StringRef Triple,
StringRef Name)
: M(new Module(Name, Context)),
OpenPOWER on IntegriCloud