projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kaleidoscope: Value => Metadata
[oota-llvm.git]
/
examples
/
ExceptionDemo
/
CMakeLists.txt
diff --git
a/examples/ExceptionDemo/CMakeLists.txt
b/examples/ExceptionDemo/CMakeLists.txt
index 5324acd21eabd4a0668679db8d67399327beab0e..9cadd94c24a59be9bfc24fb833c02eab249c927f 100644
(file)
--- a/
examples/ExceptionDemo/CMakeLists.txt
+++ b/
examples/ExceptionDemo/CMakeLists.txt
@@
-1,12
+1,15
@@
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
+ MC
MCJIT
Support
nativecodegen
)
+# Enable EH and RTTI for this demo
set(LLVM_REQUIRES_EH 1)
+set(LLVM_REQUIRES_RTTI 1)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp