[all-commits] [llvm/llvm-project] 26d29a: [Support] Infer compression format from zlib and z...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Sep 21 17:47:27 PDT 2026


  Branch: refs/heads/users/jhuber6/zstd-magic
  Home:   https://github.com/llvm/llvm-project
  Commit: 26d29a97b3bb57cf77c256e4fb43a83ad1760d31
      https://github.com/llvm/llvm-project/commit/26d29a97b3bb57cf77c256e4fb43a83ad1760d31
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp
    M llvm/include/llvm/Support/Compression.h
    M llvm/lib/Support/Compression.cpp
    M llvm/unittests/Support/CompressionTest.cpp

  Log Message:
  -----------
  [Support] Infer compression format from zlib and zstd headers

Summary:
Identify compressed streams from their bitstream headers so callers can
decompress without naming the format. Recognize every valid RFC 1950
zlib header and the zstd frame magic, and reuse that for
getReasonIfUnsupported and decompress. Collapse the AST reader onto the
new helpers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list