[all-commits] [llvm/llvm-project] a0365a: [Driver] Support -gz=zstd
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Sep 8 01:39:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0365abad8113d7e60294c5e581c24ec06ba037e
https://github.com/llvm/llvm-project/commit/a0365abad8113d7e60294c5e581c24ec06ba037e
Author: Fangrui Song <i at maskray.me>
Date: 2022-09-08 (Thu, 08 Sep 2022)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/test/CMakeLists.txt
A clang/test/Driver/compress-unavailable.s
A clang/test/Driver/compress-zstd.c
R clang/test/Driver/nozlibcompress.c
M clang/test/Misc/cc1as-compress.s
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
[Driver] Support -gz=zstd
The driver option translates to --compress-debug-sections=zstd cc1/cc1as/GNU
assembler/linker options.
`clang -g -gz=zstd -c a.c` generates ELFCOMPRESS_ZSTD compressed debug info
sections if compression decreases size.
More information about the All-commits
mailing list