summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-10-17 02:26:16 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-10-17 02:26:16 +0000
commit889c1e7d80958377f1e2871d5fea7ddd785130b6 (patch)
tree204822f6a1b0a0f8e97c2915af8cfdcbf5a4f63c /llvm/examples
parentd265b3fcfe173e6461d11705dd29e2afb1b834b7 (diff)
downloadbcm5719-llvm-889c1e7d80958377f1e2871d5fea7ddd785130b6.tar.gz
bcm5719-llvm-889c1e7d80958377f1e2871d5fea7ddd785130b6.zip
Build with RTTI and exceptions disabled. Only in GCC for now.
llvm-svn: 116682
Diffstat (limited to 'llvm/examples')
-rw-r--r--llvm/examples/ExceptionDemo/CMakeLists.txt1
-rw-r--r--llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt
index d6619155684..88c9ab7c181 100644
--- a/llvm/examples/ExceptionDemo/CMakeLists.txt
+++ b/llvm/examples/ExceptionDemo/CMakeLists.txt
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS jit nativecodegen)
+set(LLVM_REQUIRES_EH 1)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
diff --git a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
index 9b8227c6934..da3839843bd 100644
--- a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS core jit interpreter native)
+set(LLVM_REQUIRES_RTTI 1)
add_llvm_example(Kaleidoscope-Ch7
toy.cpp
OpenPOWER on IntegriCloud