Revert "[llvm] Added support for stand-alone cmake object libraries."
authorMircea Trofin <mtrofin@google.com>
Wed, 24 Jun 2020 16:37:15 +0000 (09:37 -0700)
committerMircea Trofin <mtrofin@google.com>
Wed, 24 Jun 2020 16:37:15 +0000 (09:37 -0700)
This reverts commit 62841415e685fe8857f75edd1fa92b7d1d08b875.

The commit is a misnomer, and it "made its way in" unintentionally,
through a patch that had it as a depdendency. The change itself ended up
to be just a comment update, but the description is completely wrong.

llvm/cmake/modules/AddLLVM.cmake

index 7ac308c..e25c72f 100644 (file)
@@ -891,7 +891,7 @@ endmacro(add_llvm_executable name)
 #   only an object library is built, and no module is built. This is specific to the Polly use case.
 #
 #   The SUBPROJECT argument contains the LLVM project the plugin belongs
-#   to. If set, the plugin will link statically by default it if the
+#   to. If set, the plugin will link statically by default it if the 
 #   project was enabled.
 function(add_llvm_pass_plugin name)
   cmake_parse_arguments(ARG