diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2020-09-08 13:45:45 -0400 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2020-09-11 17:12:58 -0400 |
commit | ccb4124a4172bf2cb2e1cd7c253f0f1654fce294 (patch) | |
tree | 8e9cf703a14a620f126f90fc3b1a858b8f9ac40d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7dcd0042e8b8581751bd9b915207058d2ab88e1d (diff) | |
download | llvm-ccb4124a4172bf2cb2e1cd7c253f0f1654fce294.zip llvm-ccb4124a4172bf2cb2e1cd7c253f0f1654fce294.tar.gz llvm-ccb4124a4172bf2cb2e1cd7c253f0f1654fce294.tar.bz2 |
Fix -gz=zlib options for linker
gcc translates -gz=zlib to --compress-debug-options=zlib for both assembler and linker
but clang only does this for assembler.
The linker needs --compress-debug-options=zlib option to compress the debug sections
in the generated executable or shared library.
Due to this bug, -gz=zlib has no effect on the generated executable or shared library.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D87321
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions