[Lldb-commits] [lldb] 0a2213c - [lldb/cmake] Fix testing support library dependencies

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 15 04:32:17 PDT 2020


Author: Pavel Labath
Date: 2020-09-15T13:32:08+02:00
New Revision: 0a2213c6eb24c9deec738e30509815e5bddd860c

URL: https://github.com/llvm/llvm-project/commit/0a2213c6eb24c9deec738e30509815e5bddd860c
DIFF: https://github.com/llvm/llvm-project/commit/0a2213c6eb24c9deec738e30509815e5bddd860c.diff

LOG: [lldb/cmake] Fix testing support library dependencies

lldbUtilityHelpers does not depend on lldbSymbolHelpers. Remove that
dependency, and add direct lldbSymbolHelpers dependencies where needed.

Added: 
    

Modified: 
    lldb/unittests/Expression/CMakeLists.txt
    lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
    lldb/unittests/TestingSupport/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Expression/CMakeLists.txt b/lldb/unittests/Expression/CMakeLists.txt
index 2f5304ab212d..0e8230d19bad 100644
--- a/lldb/unittests/Expression/CMakeLists.txt
+++ b/lldb/unittests/Expression/CMakeLists.txt
@@ -11,5 +11,6 @@ add_lldb_unittest(ExpressionTests
     lldbPluginTypeSystemClang
     lldbUtility
     lldbUtilityHelpers
+    lldbSymbolHelpers
     LLVMTestingSupport
   )

diff  --git a/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt b/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
index 64a7b78c478a..30620a61dc5f 100644
--- a/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
+++ b/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
@@ -11,8 +11,9 @@ add_lldb_unittest(SymbolFileDWARFTests
     lldbPluginSymbolFileDWARF
     lldbPluginSymbolFilePDB
     lldbPluginTypeSystemClang
-    lldbUtilityHelpers
     lldbPluginPlatformMacOSX
+    lldbUtilityHelpers
+    lldbSymbolHelpers
   LINK_COMPONENTS
     Support
     DebugInfoPDB

diff  --git a/lldb/unittests/TestingSupport/CMakeLists.txt b/lldb/unittests/TestingSupport/CMakeLists.txt
index 4599ada1ec50..c62bc3b023b7 100644
--- a/lldb/unittests/TestingSupport/CMakeLists.txt
+++ b/lldb/unittests/TestingSupport/CMakeLists.txt
@@ -5,7 +5,6 @@ add_lldb_library(lldbUtilityHelpers
 
   LINK_LIBS
     lldbUtility
-    lldbSymbolHelpers
     gtest
 
   LINK_COMPONENTS


        


More information about the lldb-commits mailing list