[all-commits] [llvm/llvm-project] 35d152: [Driver] Remove obsoleted -gz=zlib-gnu

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jan 26 13:27:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35d15222c05d3409076e170e4851fd3d58a64e35
      https://github.com/llvm/llvm-project/commit/35d15222c05d3409076e170e4851fd3d58a64e35
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-26 (Wed, 26 Jan 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/amdgcn-gz-options.cl
    M clang/test/Driver/compress.c

  Log Message:
  -----------
  [Driver] Remove obsoleted -gz=zlib-gnu

GCC added -gz=zlib-gnu in 2014 for -gz meaning change (.zdebug =>
SHF_COMPRESSED) and the legacy zlib-gnu hasn't gain adoption.

According to Debian Code Search (`gz=zlib-gnu`), no project uses -gz=zlib-gnu
(valgrind has a configure to use -gz=zlib). Any possible -gz=zlib-gnu user can
switch to -gz smoothly (supported by integrated assemblers for many years;
binutils 2.26).

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D117744




More information about the All-commits mailing list