diff options
author | Lang Hames <lhames@gmail.com> | 2015-10-28 02:40:04 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2015-10-28 02:40:04 +0000 |
commit | 130a7c41526921fde7562d0526e860ade0eb6d78 (patch) | |
tree | e9155de99b53b5c24c5ec2d91beaeb8484912d1d /llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp | |
parent | a0ac8e4411fbc418c930e793022682a0bb9105f2 (diff) | |
download | bcm5719-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.cpp | 2 |
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)), |