]> granicus.if.org Git - llvm/commit
[llvm-objdump] Further rearrange llvm-objdump sections for compatability
authorJordan Rupprecht <rupprecht@google.com>
Thu, 3 Oct 2019 22:01:08 +0000 (22:01 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Thu, 3 Oct 2019 22:01:08 +0000 (22:01 +0000)
commitf21fbaa98eb98701922de967c5afedcb1fe07cd7
tree5ea6452cfcb3bee90a11e28ae572128c62f0799d
parentf03d2d8516df4560c9ade883bd2f46b8671cf6ae
[llvm-objdump] Further rearrange llvm-objdump sections for compatability

Summary:
rL371826 rearranged some output from llvm-objdump for GNU objdump compatability, but there still seem to be some more.

I think this rearrangement is a little closer. Overview of the ordering which matches GNU objdump:
* Archive headers
* File headers
* Section headers
* Symbol table
* Dwarf debugging
* Relocations (if `--disassemble` is not used)
* Section contents
* Disassembly

Reviewers: jhenderson, justice_adams, grimar, ychen, espindola

Reviewed By: jhenderson

Subscribers: aprantl, emaste, arichardson, jrtc27, atanasyan, seiya, llvm-commits, MaskRay

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68066

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373671 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/COFF/symidx.s
test/tools/llvm-objdump/X86/adjust-vma.test
test/tools/llvm-objdump/X86/demangle.s
test/tools/llvm-objdump/X86/out-of-section-sym.test
test/tools/llvm-objdump/all-headers.test
test/tools/llvm-objdump/output-ordering.test [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp