This reapplies85c649bc02, which was reverted in35767e43d6due to failures with some example programs. The fix was to add export_executable_symbols to the example programs.
25 lines
389 B
CMake
25 lines
389 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
IRReader
|
|
JITLink
|
|
OrcJIT
|
|
OrcShared
|
|
OrcTargetProcess
|
|
Support
|
|
TargetParser
|
|
nativecodegen
|
|
)
|
|
|
|
if (LLVM_INCLUDE_UTILS)
|
|
add_llvm_example(LLJITWithRemoteDebugging
|
|
LLJITWithRemoteDebugging.cpp
|
|
RemoteJITUtils.cpp
|
|
|
|
DEPENDS
|
|
llvm-jitlink-executor
|
|
)
|
|
|
|
export_executable_symbols(LLJITWithRemoteDebugging)
|
|
endif()
|