Build Plugin/JITLoader/GDB on all platforms.
authorBruce Mitchener <bruce.mitchener@gmail.com>
Thu, 10 Sep 2015 14:28:49 +0000 (14:28 +0000)
committerBruce Mitchener <bruce.mitchener@gmail.com>
Thu, 10 Sep 2015 14:28:49 +0000 (14:28 +0000)
Summary:
We currently link to this on all platforms, so don't need to re-include
it into the LLDB_USED_LIBS. Also don't need to special case building
it for every supported platform.

Reviewers: clayborg, labath

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12756

llvm-svn: 247284

lldb/cmake/LLDBDependencies.cmake
lldb/source/Plugins/JITLoader/CMakeLists.txt

index ec9e61f..e1723e5 100644 (file)
@@ -79,7 +79,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
   list(APPEND LLDB_USED_LIBS
     lldbPluginProcessWindows
     lldbPluginProcessWinMiniDump
-    lldbPluginJITLoaderGDB
     Ws2_32
     Rpcrt4
     )
@@ -91,7 +90,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
     lldbPluginProcessLinux
     lldbPluginProcessPOSIX
     lldbPluginProcessElfCore
-    lldbPluginJITLoaderGDB
    )
 endif ()
 
@@ -101,7 +99,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
     lldbPluginProcessFreeBSD
     lldbPluginProcessPOSIX
     lldbPluginProcessElfCore
-    lldbPluginJITLoaderGDB
     )
 endif ()
 
index f6f72c3..e522301 100644 (file)
@@ -1,4 +1 @@
-if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "Linux"
-    OR CMAKE_SYSTEM_NAME MATCHES "Windows" OR CMAKE_SYSTEM_NAME MATCHES "Darwin")
-  add_subdirectory(GDB)
-endif()
+add_subdirectory(GDB)