mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-05 11:18:48 +00:00
df424f76e5
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272455 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
)
|