[Lldb-commits] [PATCH] D128465: [llvm] add zstd to `llvm::compression` namespace

Cole Kissane via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 13 14:58:44 PDT 2022


ckissane added inline comments.


================
Comment at: llvm/lib/Support/Compression.cpp:63
   __msan_unpoison(CompressedBuffer.data(), CompressedSize);
-  CompressedBuffer.truncate(CompressedSize);
+  if (CompressedSize < CompressedBuffer.size())
+    CompressedBuffer.truncate(CompressedSize);
----------------
phosek wrote:
> I'd make changes to zlib separately.
Here https://reviews.llvm.org/D129698


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128465/new/

https://reviews.llvm.org/D128465



More information about the lldb-commits mailing list