Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / tools / llvm-ar / CMakeLists.txt
index 65ad36a470bb48aeb81cf44a50e2cc0fb1d9d5b4..86233dfce9a514f317bf1dfcd61818a9afceb26e 100644 (file)
@@ -1,9 +1,14 @@
-set(LLVM_REQUIRES_EH 1)
+set(LLVM_LINK_COMPONENTS
+  ${LLVM_TARGETS_TO_BUILD}
+  Core
+  LibDriver
+  Object
+  Support
+  )
 
 add_llvm_tool(llvm-ar
   llvm-ar.cpp
   )
 
-target_link_libraries(llvm-ar LLVMArchive)
-
-# TODO: Support check-local.
+add_llvm_tool_symlink(llvm-ranlib llvm-ar)
+add_llvm_tool_symlink(llvm-lib llvm-ar)