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/IndirectionUtilsTest.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/IndirectionUtilsTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp index 1a533b05838..38b60ea7fcd 100644 --- a/llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp @@ -18,7 +18,7 @@ namespace { TEST(IndirectionUtilsTest, MakeStub) { ModuleBuilder MB(getGlobalContext(), "x86_64-apple-macosx10.10", ""); - Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>(MB.getModule(), ""); + Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>(""); SmallVector<AttributeSet, 4> Attrs; Attrs.push_back( AttributeSet::get(MB.getModule()->getContext(), 1U, |