[Lldb-commits] [lldb] r293698 - [CMake] [1/4] Update a batch of plugins

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 31 14:21:20 PST 2017


Author: cbieneman
Date: Tue Jan 31 16:21:19 2017
New Revision: 293698

URL: http://llvm.org/viewvc/llvm-project?rev=293698&view=rev
Log:
[CMake] [1/4] Update a batch of plugins

This is extending the updates from r293696 to more LLDB plugins.

Modified:
    lldb/trunk/source/Plugins/Disassembler/llvm/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/Static/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/Windows-DYLD/CMakeLists.txt
    lldb/trunk/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
    lldb/trunk/source/Plugins/ExpressionParser/Go/CMakeLists.txt
    lldb/trunk/source/Plugins/Instruction/ARM/CMakeLists.txt
    lldb/trunk/source/Plugins/Instruction/ARM64/CMakeLists.txt
    lldb/trunk/source/Plugins/Instruction/MIPS/CMakeLists.txt
    lldb/trunk/source/Plugins/Instruction/MIPS64/CMakeLists.txt
    lldb/trunk/source/Plugins/InstrumentationRuntime/AddressSanitizer/CMakeLists.txt
    lldb/trunk/source/Plugins/InstrumentationRuntime/ThreadSanitizer/CMakeLists.txt
    lldb/trunk/source/Plugins/JITLoader/GDB/CMakeLists.txt

Modified: lldb/trunk/source/Plugins/Disassembler/llvm/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Disassembler/llvm/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,12 @@
-add_lldb_library(lldbPluginDisassemblerLLVM
+add_lldb_library(lldbPluginDisassemblerLLVM PLUGIN
   DisassemblerLLVMC.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbSymbol
+    lldbTarget
+  LINK_COMPONENTS
+    ${LLVM_TARGETS_TO_BUILD}
+    MC
+    Support
   )

Modified: lldb/trunk/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,13 @@
-add_lldb_library(lldbPluginDynamicLoaderDarwinKernel
+add_lldb_library(lldbPluginDynamicLoaderDarwinKernel PLUGIN
   DynamicLoaderDarwinKernel.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbHost
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+    lldbUtility
+    lldbPluginPlatformMacOSX
   )

Modified: lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,4 +1,10 @@
-add_lldb_library(lldbPluginDynamicLoaderHexagonDYLD
+add_lldb_library(lldbPluginDynamicLoaderHexagonDYLD PLUGIN
   HexagonDYLDRendezvous.cpp
   DynamicLoaderHexagonDYLD.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbSymbol
+    lldbTarget
   )

Modified: lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,5 +1,16 @@
-add_lldb_library(lldbPluginDynamicLoaderMacOSXDYLD
+add_lldb_library(lldbPluginDynamicLoaderMacOSXDYLD PLUGIN
   DynamicLoaderMacOSXDYLD.cpp
   DynamicLoaderMacOS.cpp
   DynamicLoaderDarwin.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbExpression
+    lldbHost
+    lldbSymbol
+    lldbTarget
+    lldbUtility
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,5 +1,15 @@
-add_lldb_library(lldbPluginDynamicLoaderPosixDYLD
+add_lldb_library(lldbPluginDynamicLoaderPosixDYLD PLUGIN
   AuxVector.cpp
   DYLDRendezvous.cpp
   DynamicLoaderPOSIXDYLD.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbHost
+    lldbSymbol
+    lldbTarget
+    lldbPluginProcessElfCore
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/DynamicLoader/Static/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/Static/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/Static/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/Static/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,9 @@
-add_lldb_library(lldbPluginDynamicLoaderStatic
+add_lldb_library(lldbPluginDynamicLoaderStatic PLUGIN
   DynamicLoaderStatic.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbHost
+    lldbSymbol
+    lldbTarget
   )

Modified: lldb/trunk/source/Plugins/DynamicLoader/Windows-DYLD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/Windows-DYLD/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/Windows-DYLD/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/Windows-DYLD/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,9 @@
-add_lldb_library(lldbPluginDynamicLoaderWindowsDYLD
+add_lldb_library(lldbPluginDynamicLoaderWindowsDYLD PLUGIN
   DynamicLoaderWindowsDYLD.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbTarget
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -2,7 +2,7 @@ if(NOT LLDB_BUILT_STANDALONE)
   set(tablegen_deps intrinsics_gen)
 endif()
 
-add_lldb_library(lldbPluginExpressionParserClang
+add_lldb_library(lldbPluginExpressionParserClang PLUGIN
   ASTDumper.cpp
   ASTResultSynthesizer.cpp
   ASTStructExtractor.cpp
@@ -19,4 +19,30 @@ add_lldb_library(lldbPluginExpressionPar
 
   DEPENDS
   ${tablegen_deps}
+
+  LINK_LIBS
+    clangAST
+    clangCodeGen
+    clangEdit
+    clangFrontend
+    clangLex
+    clangParse
+    clangRewrite
+    clangRewriteFrontend
+    clangSema
+    clangSerialization
+    lldbCore
+    lldbExpression
+    lldbHost
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+    lldbUtility
+    lldbPluginCPlusPlusLanguage
+  LINK_COMPONENTS
+    Core
+    ExecutionEngine
+    ipo
+    MCJIT
+    Support
   )

Modified: lldb/trunk/source/Plugins/ExpressionParser/Go/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Go/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Go/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Go/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,5 +1,13 @@
-add_lldb_library(lldbPluginExpressionParserGo
+add_lldb_library(lldbPluginExpressionParserGo PLUGIN
 	GoLexer.cpp
 	GoParser.cpp
 	GoUserExpression.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbExpression
+    lldbSymbol
+    lldbTarget
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/Instruction/ARM/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,4 +1,14 @@
-add_lldb_library(lldbPluginInstructionARM
+add_lldb_library(lldbPluginInstructionARM PLUGIN
   EmulateInstructionARM.cpp
   EmulationStateARM.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbHost
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+    lldbPluginProcessUtility
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/Instruction/ARM64/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM64/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM64/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM64/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,11 @@
-add_lldb_library(lldbPluginInstructionARM64
+add_lldb_library(lldbPluginInstructionARM64 PLUGIN
   EmulateInstructionARM64.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbInterpreter
+    lldbSymbol
+    lldbPluginProcessUtility
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/Instruction/MIPS/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/MIPS/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/MIPS/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Instruction/MIPS/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,13 @@
-add_lldb_library(lldbPluginInstructionMIPS
+add_lldb_library(lldbPluginInstructionMIPS PLUGIN
   EmulateInstructionMIPS.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+    lldbPluginProcessUtility
+  LINK_COMPONENTS
+    MC
+    Support
   )

Modified: lldb/trunk/source/Plugins/Instruction/MIPS64/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/MIPS64/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/MIPS64/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Instruction/MIPS64/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,13 @@
-add_lldb_library(lldbPluginInstructionMIPS64
+add_lldb_library(lldbPluginInstructionMIPS64 PLUGIN
   EmulateInstructionMIPS64.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbHost
+    lldbInterpreter
+    lldbSymbol
+    lldbPluginProcessUtility
+  LINK_COMPONENTS
+    MC
+    Support
   )

Modified: lldb/trunk/source/Plugins/InstrumentationRuntime/AddressSanitizer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/InstrumentationRuntime/AddressSanitizer/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/InstrumentationRuntime/AddressSanitizer/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/InstrumentationRuntime/AddressSanitizer/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,13 @@
-add_lldb_library(lldbPluginInstrumentationRuntimeAddressSanitizer
+add_lldb_library(lldbPluginInstrumentationRuntimeAddressSanitizer PLUGIN
   AddressSanitizerRuntime.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbExpression
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+  LINK_COMPONENTS
+    Support
   )

Modified: lldb/trunk/source/Plugins/InstrumentationRuntime/ThreadSanitizer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/InstrumentationRuntime/ThreadSanitizer/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/InstrumentationRuntime/ThreadSanitizer/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/InstrumentationRuntime/ThreadSanitizer/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,3 +1,12 @@
-add_lldb_library(lldbPluginInstrumentationRuntimeThreadSanitizer
+add_lldb_library(lldbPluginInstrumentationRuntimeThreadSanitizer PLUGIN
   ThreadSanitizerRuntime.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbExpression
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+    lldbPluginProcessUtility
   )

Modified: lldb/trunk/source/Plugins/JITLoader/GDB/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/JITLoader/GDB/CMakeLists.txt?rev=293698&r1=293697&r2=293698&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/JITLoader/GDB/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/JITLoader/GDB/CMakeLists.txt Tue Jan 31 16:21:19 2017
@@ -1,6 +1,16 @@
 include_directories(.)
 
-add_lldb_library(lldbPluginJITLoaderGDB
+add_lldb_library(lldbPluginJITLoaderGDB PLUGIN
   JITLoaderGDB.cpp
+
+  LINK_LIBS
+    lldbBreakpoint
+    lldbCore
+    lldbInterpreter
+    lldbSymbol
+    lldbTarget
+    lldbUtility
+  LINK_COMPONENTS
+    Support
   )
 




More information about the lldb-commits mailing list