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
12 lines
152 B
CMake
12 lines
152 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
IRReader
|
|
OrcJIT
|
|
Support
|
|
nativecodegen
|
|
)
|
|
|
|
add_llvm_example(LLJITWithObjectCache
|
|
LLJITWithObjectCache.cpp
|
|
)
|