[PATCH] D50223: [Support] Add zlib::compress which operates on std::unique_ptr<uint8_t[]>

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 10:39:11 PDT 2018


ruiu added a comment.

This is very interesting!



================
Comment at: include/llvm/Support/Compression.h:36-37
 
 Error compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer,
                CompressionLevel Level = DefaultCompression);
 
----------------
I think you should replace this function entirely with the new one because this is LLVM-only function and you can update all callers.


Repository:
  rL LLVM

https://reviews.llvm.org/D50223





More information about the llvm-commits mailing list