blob: 0908892a16ceeb85c25478e15ced96bc7614455b [file] [log] [blame]
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00001set(LLVM_LINK_COMPONENTS
2 Core
3 ExecutionEngine
NAKAMURA Takumi0ad1c302014-10-31 15:27:16 +00004 MC
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00005 MCJIT
NAKAMURA Takumif6d661e2015-03-31 00:03:36 +00006 RuntimeDyld
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00007 Support
8 nativecodegen
9 )
10
Dan Liewa5bdc842014-07-22 15:41:18 +000011# Enable EH and RTTI for this demo
Oscar Fuentes889c1e72010-10-17 02:26:16 +000012set(LLVM_REQUIRES_EH 1)
Dan Liewa5bdc842014-07-22 15:41:18 +000013set(LLVM_REQUIRES_RTTI 1)
Michael J. Spencer93c9b2e2010-09-13 23:59:48 +000014
Garrison Vennf4d2f842010-02-09 23:22:43 +000015add_llvm_example(ExceptionDemo
16 ExceptionDemo.cpp
17 )
Rafael Espindola03ee04b2013-04-26 19:07:40 +000018
Reid Kleckner3e8c4452015-03-18 20:09:13 +000019export_executable_symbols(ExceptionDemo)