[llvm-bugs] [Bug 40886] New: llvm-objcopy --compress-debug-sections without zlib strips debug sections

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 27 07:10:22 PST 2019


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

            Bug ID: 40886
           Summary: llvm-objcopy --compress-debug-sections without zlib
                    strips debug sections
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-objcopy
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: alexander.v.shaposhnikov at gmail.com,
                    jake.h.ehrlich at gmail.com,
                    jh7370.2008 at my.bristol.ac.uk,
                    llvm-bugs at lists.llvm.org, rupprecht at google.com

On my Windows machine, where zlib isn't available, llvm-objcopy
--compress-debug-sections is stripping the debug sections and not replacing
them. This is bad. It should be doing one of three things, in my order of
preference:

1) Emit an error saying zlib isn't available, so it cannot compress (it does
this for --decompress-debug-sections already).
2) Do nothing at all (i.e. ignore the switch).
3) Strip the sections, but replace them with exact copies.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190227/de56d444/attachment.html>


More information about the llvm-bugs mailing list