https://bugs.llvm.org/show_bug.cgi?id=45767

            Bug ID: 45767
           Summary: `ld.lld --help ` doesn't mention zlib-gnu or zlib-gabi
                    support
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: ndesaulni...@google.com
                CC: dblai...@gmail.com, echri...@gmail.com,
                    llvm-bugs@lists.llvm.org, mask...@google.com,
                    ruppre...@google.com, smithp...@googlemail.com,
                    srhi...@google.com

I'm looking into enabling compressed debug info support within the Linux
kernel.

I noticed from `man 1 ld` that the documentation on
`--compress-debug-sections=` says:

           The default compression behaviour varies depending upon the
           target involved and the configure options used to build the
           toolchain.  The default can be determined by examining the output
           from the linker's --help option.

If I run:

$ ld.lld --help | grep zlib
  --compress-debug-sections=[none,zlib]
$ ld.bfd --help | grep zlib
  --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]
                              Compress DWARF debug sections using zlib


Does lld not support `zlib-gnu` or `zlib-gabi`?  I'm not really sure which
option is even preferred, so I'll run some builds and compare zdebug_* section
sizes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to