Home | History | Annotate | Download | only in ExceptionDemo
      1 set(LLVM_LINK_COMPONENTS
      2   Core
      3   ExecutionEngine
      4   MC
      5   MCJIT
      6   RuntimeDyld
      7   Support
      8   Target
      9   nativecodegen
     10   )
     11 
     12 # Enable EH and RTTI for this demo
     13 if(NOT LLVM_ENABLE_EH)
     14   message(FATAL_ERROR "ExceptionDemo must require EH.")
     15 endif()
     16 
     17 add_llvm_example(ExceptionDemo
     18   ExceptionDemo.cpp
     19   )
     20 
     21 export_executable_symbols(ExceptionDemo)
     22