summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-01-24 04:43:40 +0000
committerJason Molenda <jmolenda@apple.com>2017-01-24 04:43:40 +0000
commit5a6826ebc488e9b21edd5e4f4d25bc209e809614 (patch)
treeb0ee68742a4afadde5f61254c19b927f042b03af /lldb
parent993edc9db1f8cc5f301335de2c476ed094098b42 (diff)
downloadbcm5719-llvm-5a6826ebc488e9b21edd5e4f4d25bc209e809614.tar.gz
bcm5719-llvm-5a6826ebc488e9b21edd5e4f4d25bc209e809614.zip
Enable compression capability in debugserver for all of ios/watchos/tvos
environments. <rdar://problem/30159019> llvm-svn: 292882
Diffstat (limited to 'lldb')
-rw-r--r--lldb/tools/debugserver/source/RNBRemote.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp
index 71c6f717cad..1b49cec6f39 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -3611,15 +3611,10 @@ rnb_err_t RNBRemote::HandlePacket_qSupported(const char *p) {
snprintf(buf, sizeof(buf), "qXfer:features:read+;PacketSize=%x;qEcho+",
max_packet_size);
- // By default, don't enable compression. It's only worth doing when we are
- // working
- // with a low speed communication channel.
bool enable_compression = false;
(void)enable_compression;
-// Enable compression when debugserver is running on a watchOS device where
-// communication may be over Bluetooth.
-#if defined(TARGET_OS_WATCH) && TARGET_OS_WATCH == 1
+#if defined (TARGET_OS_WATCH) || defined (TARGET_OS_IOS) || defined (TARGET_OS_TVOS)
enable_compression = true;
#endif
OpenPOWER on IntegriCloud