
Functions in static code that should be callable from JITed code must be exported. For dynamic libraries extern functions are exported by default. For exectuables, linkers usually strip them away unless we explicitly ask for keeping them. Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D110345
15 lines
252 B
CMake
15 lines
252 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
IRReader
|
|
OrcJIT
|
|
Support
|
|
nativecodegen
|
|
)
|
|
|
|
add_llvm_example(LLJITWithExecutorProcessControl
|
|
LLJITWithExecutorProcessControl.cpp
|
|
)
|
|
|
|
export_executable_symbols(LLJITWithExecutorProcessControl)
|