Files
clang-p2996/llvm/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txt
Lang Hames 843f198a83 [ORC] Add custom IR compiler configuration to LLJITBuilder to enable obj caches.
LLJITBuilder now has a setCompileFunctionCreator method which can be used to
construct a CompileFunction for the LLJIT instance being created. The motivating
use-case for this is supporting ObjectCaches, which can now be set up at
compile-function construction time. To demonstrate this an example project,
LLJITWithObjectCache, is included.

llvm-svn: 365671
2019-07-10 17:24:24 +00:00

12 lines
152 B
CMake

set(LLVM_LINK_COMPONENTS
Core
IRReader
OrcJIT
Support
nativecodegen
)
add_llvm_example(LLJITWithObjectCache
LLJITWithObjectCache.cpp
)