Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
index 2a7667dfba42c0f11f7d75aa52b2251f409df40b..793cf291ca6f110eae23c396e24c2ee3cd050bcd 100644 (file)
@@ -3,13 +3,16 @@ set(LLVM_LINK_COMPONENTS
   ExecutionEngine
   MC
   MCJIT
+  RuntimeDyld
   Support
+  Target
   nativecodegen
   )
 
 # Enable EH and RTTI for this demo
-set(LLVM_REQUIRES_EH 1)
-set(LLVM_REQUIRES_RTTI 1)
+if(NOT LLVM_ENABLE_EH)
+  message(FATAL_ERROR "ExceptionDemo must require EH.")
+endif()
 
 add_llvm_example(ExceptionDemo
   ExceptionDemo.cpp