[Orc] Add basic OrcV2 C bindings and example.
authorLang Hames <lhames@gmail.com>
Sat, 14 Mar 2020 21:16:42 +0000 (14:16 -0700)
committerLang Hames <lhames@gmail.com>
Sat, 14 Mar 2020 21:41:22 +0000 (14:41 -0700)
commit633ea07200ea055320dcd0ecad32639bd95aac59
treed0ba81bc05760489f2eea6ffaf015a84d45de5d7
parent19840a307e6d98017b68b14725c53d1ad89d98f9
[Orc] Add basic OrcV2 C bindings and example.

Renames the llvm/examples/LLJITExamples directory to llvm/examples/OrcV2Examples
since it is becoming a home for all OrcV2 examples, not just LLJIT.

See http://llvm.org/PR31103.
18 files changed:
llvm/examples/CMakeLists.txt
llvm/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c [new file with mode: 0644]
llvm/examples/OrcV2Examples/BasicOrcV2CBindings/CMakeLists.txt [new file with mode: 0644]
llvm/examples/OrcV2Examples/CMakeLists.txt [moved from llvm/examples/LLJITExamples/CMakeLists.txt with 85% similarity]
llvm/examples/OrcV2Examples/ExampleModules.h [moved from llvm/examples/LLJITExamples/ExampleModules.h with 100% similarity]
llvm/examples/OrcV2Examples/LLJITDumpObjects/CMakeLists.txt [moved from llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt with 100% similarity]
llvm/examples/OrcV2Examples/LLJITDumpObjects/LLJITDumpObjects.cpp [moved from llvm/examples/LLJITExamples/LLJITDumpObjects/LLJITDumpObjects.cpp with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt [moved from llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/LLJITWithCustomObjectLinkingLayer.cpp [moved from llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/LLJITWithCustomObjectLinkingLayer.cpp with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithLazyReexports/CMakeLists.txt [moved from llvm/examples/LLJITExamples/LLJITWithLazyReexports/CMakeLists.txt with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithLazyReexports/LLJITWithLazyReexports.cpp [moved from llvm/examples/LLJITExamples/LLJITWithLazyReexports/LLJITWithLazyReexports.cpp with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithObjectCache/CMakeLists.txt [moved from llvm/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txt with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithObjectCache/LLJITWithObjectCache.cpp [moved from llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/CMakeLists.txt [moved from llvm/examples/LLJITExamples/LLJITWithObjectLinkingLayerPlugin/CMakeLists.txt with 100% similarity]
llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp [moved from llvm/examples/LLJITExamples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp with 100% similarity]
llvm/include/llvm-c/Orc.h [new file with mode: 0644]
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp [new file with mode: 0644]