[llvm-bugs] [Bug 51243] New: [PE/COFF] Error when processing files that don't have debug entry in directories header

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 28 02:21:51 PDT 2021


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

            Bug ID: 51243
           Summary: [PE/COFF] Error when processing files that don't have
                    debug entry in directories header
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: unassignedbugs at nondot.org
          Reporter: alfonso.sanchez-beato at canonical.com
                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

Created attachment 25079
  --> https://bugs.llvm.org/attachment.cgi?id=25079&action=edit
Input file that triggers the bug

I get this error when trying to add a section:

$ llvm-objcopy --add-section .sect_name=<any_file> linuxaa64.efi.stub output_f
llvm-objcopy: error: 'output_f': debug directory payload outside of mapped
sections not supported

While actually linuxaa64.efi.stub does not have a debug entry in the Data
Directories header.

-- 
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/20210728/5466f050/attachment.html>


More information about the llvm-bugs mailing list