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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to