[llvm-bugs] [Bug 40774] New: Fix SHT_MIPS_DWARF section dumping + yaml2obj

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 19 08:42:44 PST 2019


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

            Bug ID: 40774
           Summary: Fix SHT_MIPS_DWARF section dumping + yaml2obj
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-readobj
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: jh7370.2008 at my.bristol.ac.uk, llvm-bugs at lists.llvm.org

I was writing a test to test all existing supported section types when dumping
section headers with llvm-readobj+llvm-readelf, and discovered two related
issues to do with SHT_MIPS_DWARF sections:
1) The type printing is inconsistent for SHT_MIPS* section types. For
SHT_MIPS_DWARF, it prints as "SHT_MIPS_DWARF" for other machine-specific
sections, it prints as "MIPS_*" e.g. "MIPS_ABIFLAGS".
2) yaml2obj does not recognise the SHT_MIPS_DWARF enum value for the section
type.

-- 
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/20190219/292b5393/attachment.html>


More information about the llvm-bugs mailing list