1set(LLVM_LINK_COMPONENTS jit mcjit nativecodegen) 2set(LLVM_REQUIRES_EH 1) 3 4add_llvm_example(ExceptionDemo 5 ExceptionDemo.cpp 6 ) 7 8set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1) 9