0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-27 10:36:07 +00:00
epitavy 847acbbc52
[ExceptionDemo] Transition example from MCJIT to ORC and fix errors ()
ExceptionDemo has been broken for some time. This patch fixes the
compilation errors and moves the example from MCJIT to ORC.
2025-01-23 12:40:38 +11:00

20 lines
295 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
ORCJIT
Support
Target
nativecodegen
)
# Enable EH and RTTI for this demo
if(NOT LLVM_ENABLE_EH)
message(FATAL_ERROR "ExceptionDemo must require EH.")
endif()
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
EXPORT_SYMBOLS
)