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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 10:59:31 PDT 2018


MaskRay updated this revision to Diff 159051.
MaskRay added a comment.

Remove zlib::compress on SmallVectorImpl and change all callers to use std::unique_ptr<uint8_t[]>


Repository:
  rL LLVM

https://reviews.llvm.org/D50223

Files:
  include/llvm/Support/Compression.h
  lib/MC/ELFObjectWriter.cpp
  lib/ProfileData/InstrProf.cpp
  lib/Support/Compression.cpp
  unittests/Support/CompressionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50223.159051.patch
Type: text/x-patch
Size: 7586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180803/2c92b7f9/attachment-0001.bin>


More information about the llvm-commits mailing list