MCJIT
RuntimeDyld
Support
+ Target
nativecodegen
)
# Enable EH and RTTI for this demo
-set(LLVM_REQUIRES_EH 1)
-set(LLVM_REQUIRES_RTTI 1)
-
-set(LLVM_BUILD_EXAMPLES OFF)
+if(NOT LLVM_ENABLE_EH)
+ message(FATAL_ERROR "ExceptionDemo must require EH.")
+endif()
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp