[lld] 45f8ee5 - Revert "Fix shared lib build."

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 19:08:08 PST 2019


Author: Rui Ueyama
Date: 2019-11-19T12:05:55+09:00
New Revision: 45f8ee5f3c5ad4bc0b041c49a251d674c14dbc13

URL: https://github.com/llvm/llvm-project/commit/45f8ee5f3c5ad4bc0b041c49a251d674c14dbc13
DIFF: https://github.com/llvm/llvm-project/commit/45f8ee5f3c5ad4bc0b041c49a251d674c14dbc13.diff

LOG: Revert "Fix shared lib build."

This reverts commit 17e37ba57a696198c9744eeba4f8f293f155587a
because it introduced a circular dependency between Core and Common.
Because d0371f473675ede1d79a615ec4fdf0cf5368944c fixed a build issue,
we no longer need that dependency.

Added: 
    

Modified: 
    lld/lib/Core/CMakeLists.txt
    lld/lib/ReaderWriter/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/lld/lib/Core/CMakeLists.txt b/lld/lib/Core/CMakeLists.txt
index a2d1b7ade004..2d4d9ded0886 100644
--- a/lld/lib/Core/CMakeLists.txt
+++ b/lld/lib/Core/CMakeLists.txt
@@ -21,9 +21,8 @@ add_lld_library(lldCore
     Support
 
   LINK_LIBS
-    lldCommon
-    ${LLVM_PTHREAD_LIB}
+  ${LLVM_PTHREAD_LIB}
 
   DEPENDS
-    ${tablegen_deps}
+  ${tablegen_deps}
   )

diff  --git a/lld/lib/ReaderWriter/CMakeLists.txt b/lld/lib/ReaderWriter/CMakeLists.txt
index 65a68a7578ee..bedb836d2c1e 100644
--- a/lld/lib/ReaderWriter/CMakeLists.txt
+++ b/lld/lib/ReaderWriter/CMakeLists.txt
@@ -16,6 +16,5 @@ add_lld_library(lldReaderWriter
     Support
 
   LINK_LIBS
-    lldCommon
     lldCore
   )


        


More information about the llvm-commits mailing list