commit | 6f8e394c2e415bdceb2a1233ad9000947c10c222 | [log] [tgz] |
---|---|---|
author | Jason Molenda <jmolenda@apple.com> | Tue Dec 18 23:02:50 2018 +0000 |
committer | Jason Molenda <jmolenda@apple.com> | Tue Dec 18 23:02:50 2018 +0000 |
tree | e8eb789a877752e95a6f321fc7a3188b50d4faff | |
parent | 7a4293d9e30f2e0a34e9a9c65a60e8392346e868 [diff] |
Force libcompression calls to be enabled when building on Darwin systems. It has been available in the OS over over three years now. If lldb doesn't link against -lcompression, it should be an error. Allocate a scratch buffer for libcompression to use when decoding packets, instead of it having to allocate & free one on every call. Fix a typeo with the size of the buffer that compression_decode_buffer() is expanding into. <rdar://problem/41601084>