[Lldb-commits] [PATCH] D123616: [debugserver ] Un-conditionalize use of libcompression
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 13 14:36:46 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG763ff89c0e0d: [debugserver ] Un-conditionalize use of libcompression (authored by JDevlieghere).
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123616/new/
https://reviews.llvm.org/D123616
Files:
lldb/tools/debugserver/source/CMakeLists.txt
Index: lldb/tools/debugserver/source/CMakeLists.txt
===================================================================
--- lldb/tools/debugserver/source/CMakeLists.txt
+++ lldb/tools/debugserver/source/CMakeLists.txt
@@ -106,8 +106,6 @@
set(CMAKE_OSX_ARCHITECTURES "arm64;arm64e")
endif ()
-check_library_exists(compression compression_encode_buffer "" HAVE_LIBCOMPRESSION)
-
find_library(SECURITY_LIBRARY Security)
add_subdirectory(MacOSX)
@@ -125,6 +123,7 @@
LLDB_DEBUGSERVER_CODESIGN_IDENTITY ${debugserver_codesign_identity})
if(APPLE)
+ set(LIBCOMPRESSION compression)
if(APPLE_EMBEDDED)
find_library(BACKBOARD_LIBRARY BackBoardServices
PATHS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
@@ -146,10 +145,6 @@
endif()
endif()
-if(HAVE_LIBCOMPRESSION)
- set(LIBCOMPRESSION compression)
-endif()
-
if(LLDB_USE_ENTITLEMENTS)
if(APPLE_EMBEDDED)
set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-entitlements.plist)
@@ -258,10 +253,6 @@
${SECURITY_LIBRARY}
${LIBCOMPRESSION}
${ENERGY_LIBRARY})
-if(HAVE_LIBCOMPRESSION)
- set_property(TARGET lldbDebugserverCommon APPEND PROPERTY
- COMPILE_DEFINITIONS HAVE_LIBCOMPRESSION)
-endif()
add_lldb_tool(debugserver ADD_TO_FRAMEWORK
debugserver.cpp
LINK_LIBS lldbDebugserverCommon
@@ -325,10 +316,6 @@
lldbDebugserverArchSupport
${SECURITY_LIBRARY}
${LIBCOMPRESSION})
- if(HAVE_LIBCOMPRESSION)
- set_property(TARGET lldbDebugserverCommon_NonUI APPEND PROPERTY
- COMPILE_DEFINITIONS HAVE_LIBCOMPRESSION)
- endif()
add_lldb_tool(debugserver-nonui
debugserver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123616.422666.patch
Type: text/x-patch
Size: 1760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220413/442babd5/attachment.bin>
More information about the lldb-commits
mailing list