Lang Hames b92839c954 Re-apply "[ORC][LLJIT] Use JITLink by default on ELF/x86-64." with fixes.
This reapplies 85c649bc02a, which was reverted in 35767e43d62 due to failures
with some example programs. The fix was to add export_executable_symbols to the
example programs.
2023-04-23 10:20:09 +00:00

17 lines
232 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
IPO
IRReader
OrcJIT
ScalarOpts
Support
nativecodegen
)
add_llvm_example(LLJITRemovableCode
LLJITRemovableCode.cpp
)
export_executable_symbols(LLJITRemovableCode)