summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ExceptionDemo
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/ExceptionDemo')
-rw-r--r--llvm/examples/ExceptionDemo/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt
index 5324acd21ea..a08a7c30bd8 100644
--- a/llvm/examples/ExceptionDemo/CMakeLists.txt
+++ b/llvm/examples/ExceptionDemo/CMakeLists.txt
@@ -6,7 +6,9 @@ set(LLVM_LINK_COMPONENTS
nativecodegen
)
+# Enable EH and RTTI for this demo
set(LLVM_REQUIRES_EH 1)
+set(LLVM_REQUIRES_RTTI 1)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
OpenPOWER on IntegriCloud