[llvm-bugs] [Bug 43403] New: Fix difference in --all output between llvm-readelf and GNU readelf

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 23 04:47:35 PDT 2019


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

            Bug ID: 43403
           Summary: Fix difference in --all output between llvm-readelf
                    and GNU readelf
           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

Whilst I hope nobody is parsing --all output and relying on the specific order,
it's still not great that the outputs are different. From what I can see,
llvm-readelf (and llvm-readobj) produces output in the order:

* file header
* section headers
* relocations
* symbols
* unwind info
* dynamic table
* program headers
* version info
* section groups
* hash histogram
* notes

GNU readelf produces the output in the order:

* file header
* section headers
* section groups
* program headers
* dynamic table
* relocations
* unwind info
* symbol table
* hash histogram
* version info
* notes

We should change the order of llvm-readelf (and probably llvm-readobj) to match
GNU's order.

-- 
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/20190923/6ffb1738/attachment.html>


More information about the llvm-bugs mailing list