From 809b860bd3b70938b3d27e9a51c64a4cff58ef69 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 10 Sep 2015 14:28:49 +0000 Subject: [PATCH] Build Plugin/JITLoader/GDB on all platforms. 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 | 3 --- lldb/source/Plugins/JITLoader/CMakeLists.txt | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lldb/cmake/LLDBDependencies.cmake b/lldb/cmake/LLDBDependencies.cmake index ec9e61f..e1723e5 100644 --- a/lldb/cmake/LLDBDependencies.cmake +++ b/lldb/cmake/LLDBDependencies.cmake @@ -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 () diff --git a/lldb/source/Plugins/JITLoader/CMakeLists.txt b/lldb/source/Plugins/JITLoader/CMakeLists.txt index f6f72c3..e522301 100644 --- a/lldb/source/Plugins/JITLoader/CMakeLists.txt +++ b/lldb/source/Plugins/JITLoader/CMakeLists.txt @@ -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) -- 2.7.4