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: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: alexander.v.shaposhni...@gmail.com,
                    jake.h.ehrl...@gmail.com,
                    jh7370.2...@my.bristol.ac.uk,
                    llvm-bugs@lists.llvm.org, ruppre...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to