[Lldb-commits] [lldb] r297369 - cmake: Increase LINK_INTERFACE_MULTIPLICITY of lldbCore

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 9 02:16:15 PST 2017


Author: labath
Date: Thu Mar  9 04:16:15 2017
New Revision: 297369

URL: http://llvm.org/viewvc/llvm-project?rev=297369&view=rev
Log:
cmake: Increase LINK_INTERFACE_MULTIPLICITY of lldbCore

This is necessary to get debug builds of unit tests working on linux.

I think we are at a point where removing dependencies does not prevent
us from depending on the whole world yet. What it does do though, is
make the dependency chains longer as the dependency graph gets sparser,
which means we need to repeat the libraries more times to get the thing
to link.

Modified:
    lldb/trunk/source/Core/CMakeLists.txt

Modified: lldb/trunk/source/Core/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/CMakeLists.txt?rev=297369&r1=297368&r2=297369&view=diff
==============================================================================
--- lldb/trunk/source/Core/CMakeLists.txt (original)
+++ lldb/trunk/source/Core/CMakeLists.txt Thu Mar  9 04:16:15 2017
@@ -74,4 +74,4 @@ add_lldb_library(lldbCore
 
 # Needed to properly resolve references in a debug build.
 # TODO: Remove once we have better layering
-set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 3)
+set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 4)




More information about the lldb-commits mailing list