mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
a4ac14ea38
MCJIT will now set the DataLayout on a module when it is added to the JIT, rather than waiting until it is codegen'd, and the runFunction method will finalize the module containing the function to be run before running it. The fibonacci example has been updated to include and link against MCJIT. llvm-svn: 272455
14 lines
155 B
CMake
14 lines
155 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
Interpreter
|
|
MC
|
|
MCJIT
|
|
Support
|
|
nativecodegen
|
|
)
|
|
|
|
add_llvm_example(Fibonacci
|
|
fibonacci.cpp
|
|
)
|