[Orc] Re-add C bindings for the Orc APIs, with a fix to remove the union that
authorLang Hames <lhames@gmail.com>
Wed, 28 Oct 2015 02:40:04 +0000 (02:40 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 28 Oct 2015 02:40:04 +0000 (02:40 +0000)
commitf3f591ae0051b1f04ac08006e066822ea89b9765
tree7a32e1e9bbe1dd4ecdf0a904408f80c96120953f
parent1d7e0281ab1beead3ac25e9a38cb9749e949d7ec
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251482 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/OrcBindings.h [new file with mode: 0644]
lib/ExecutionEngine/Orc/CMakeLists.txt
lib/ExecutionEngine/Orc/OrcCBindings.cpp [new file with mode: 0644]
lib/ExecutionEngine/Orc/OrcCBindingsStack.cpp [new file with mode: 0644]
lib/ExecutionEngine/Orc/OrcCBindingsStack.h [new file with mode: 0644]
unittests/ExecutionEngine/Orc/CMakeLists.txt
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp [new file with mode: 0644]
unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
unittests/ExecutionEngine/Orc/OrcTestCommon.h