[Lldb-commits] [PATCH] D12756: Build Plugin/JITLoader/GDB on all platforms.

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 10 07:00:00 PDT 2015


brucem created this revision.
brucem added reviewers: clayborg, labath.
brucem added a subscriber: lldb-commits.

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.

http://reviews.llvm.org/D12756

Files:
  cmake/LLDBDependencies.cmake
  source/Plugins/JITLoader/CMakeLists.txt

Index: source/Plugins/JITLoader/CMakeLists.txt
===================================================================
--- source/Plugins/JITLoader/CMakeLists.txt
+++ 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)
Index: cmake/LLDBDependencies.cmake
===================================================================
--- cmake/LLDBDependencies.cmake
+++ cmake/LLDBDependencies.cmake
@@ -79,7 +79,6 @@
   list(APPEND LLDB_USED_LIBS
     lldbPluginProcessWindows
     lldbPluginProcessWinMiniDump
-    lldbPluginJITLoaderGDB
     Ws2_32
     Rpcrt4
     )
@@ -91,7 +90,6 @@
     lldbPluginProcessLinux
     lldbPluginProcessPOSIX
     lldbPluginProcessElfCore
-    lldbPluginJITLoaderGDB
    )
 endif ()
 
@@ -101,7 +99,6 @@
     lldbPluginProcessFreeBSD
     lldbPluginProcessPOSIX
     lldbPluginProcessElfCore
-    lldbPluginJITLoaderGDB
     )
 endif ()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12756.34434.patch
Type: text/x-patch
Size: 1080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150910/3c7afd07/attachment.bin>


More information about the lldb-commits mailing list