[PATCH] D31943: [Support] - Implemented zlib::StreamCompression class.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 08:54:08 PDT 2017


grimar created this revision.

Patch introduces zlib streaming API. I am using it in LLD.
(https://reviews.llvm.org/D31941).

Patch implements only compression (no decompression),
because that is what I was need and has simple API that allows to feed compressor
object with chunks of data and get compressed result part by part from client.

Docs uded in implementation were:
http://zlib.net/zlib_how.html
http://zlib.net/manual.html


https://reviews.llvm.org/D31943

Files:
  include/llvm/Support/Compression.h
  lib/Support/Compression.cpp
  unittests/Support/CompressionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31943.94828.patch
Type: text/x-patch
Size: 5759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/506f22d6/attachment.bin>


More information about the llvm-commits mailing list