[all-commits] [llvm/llvm-project] 76a441: [MC] Fix compression header size check in ELF writer

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Nov 17 01:13:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76a441a6efa5b7e73d96a3d67512493f3873b1cb
      https://github.com/llvm/llvm-project/commit/76a441a6efa5b7e73d96a3d67512493f3873b1cb
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M clang/test/Misc/cc1as-compress.s
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/test/MC/ELF/compress-debug-sections-zstd.s

  Log Message:
  -----------
  [MC] Fix compression header size check in ELF writer

This is #66888 with a test. For MC we only use a zstd test, as zlib has
a lot of versions/forks with different speed/size tradeoff, which would
make the test more brittle. If clang/test/Misc/cc1as-compress.s turns
out to be brittle, we could make the string longer.




More information about the All-commits mailing list