[all-commits] [llvm/llvm-project] ef4593: [LLVM] Add zlib compressed data magic to LLVM magic

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Sep 11 06:15:45 PDT 2026


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

  Changed paths:
    M llvm/include/llvm/BinaryFormat/Magic.h
    M llvm/lib/BinaryFormat/Magic.cpp
    M llvm/lib/Object/Binary.cpp
    M llvm/lib/Object/ObjectFile.cpp
    M llvm/unittests/BinaryFormat/TestFileMagic.cpp

  Log Message:
  -----------
  [LLVM] Add zlib compressed data magic to LLVM magic

RFC 1950 CMF/FLG with a 32K window is four well-defined headers, which
is what LLVM's compress2 emits. Recognize those the same way as zstd so
callers can name either stream without defaulting unknown bytes to zlib.



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