[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 11:09:15 PDT 2018
ruiu added inline comments.
================
Comment at: lib/Support/Compression.cpp:65
+ CompressedData.reset(new uint8_t[CompressedSize]);
int CLevel = encodeZlibCompressionLevel(Level);
+ int Res = ::compress2(CompressedData.get(), &CompressedSize,
----------------
I think you should sync to the head. This line is already gone.
Repository:
rL LLVM
https://reviews.llvm.org/D50223
More information about the llvm-commits
mailing list