[llvm-bugs] [Bug 41006] New: Don't strip section data for non-SHF_ALLOC sections in program headers via --strip-sections

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 8 03:30:25 PST 2019


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

            Bug ID: 41006
           Summary: Don't strip section data for non-SHF_ALLOC sections in
                    program headers via --strip-sections
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          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

--strip-sections removes section headers and also all non SHF_ALLOC sections.
Sometimes these sections are within program headers and it is important still
to have this data. One example is PT_NOTE segments + sections. We should avoid
stripping this data too.

-- 
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/20190308/be92edbe/attachment.html>


More information about the llvm-bugs mailing list