[PATCH] D117744: [Driver] Remove obsoleted -gz=zlib-gnu

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 19 21:02:08 PST 2022


MaskRay created this revision.
MaskRay added reviewers: compnerd, yaxunl.
Herald added subscribers: dang, jvesely.
Herald added a reviewer: ctetreau.
MaskRay requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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, 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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117744

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/lib/Driver/ToolChains/Gnu.cpp
  clang/test/Driver/amdgcn-gz-options.cl
  clang/test/Driver/compress-noias.c
  clang/test/Driver/compress.c
  clang/tools/driver/cc1as_main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117744.401495.patch
Type: text/x-patch
Size: 7051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220120/a1b2f528/attachment.bin>


More information about the cfe-commits mailing list