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 ()
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 ()
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits