Add support for dumping section headers to llvm-objdump. This uses the same
authorNick Lewycky <nicholas@mxc.ca>
Mon, 10 Oct 2011 21:21:34 +0000 (21:21 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 10 Oct 2011 21:21:34 +0000 (21:21 +0000)
commit023bb15beaac3744ce3a5d1f750d6e32829c7130
treee8638b87a4762891bec93abf5d5c50540b3773a4
parent735fe0f9d00facc5961fbb8b822844f5088cd81d
Add support for dumping section headers to llvm-objdump. This uses the same
flags as binutils objdump but the output is different, not just in format but
also showing different sections. Compare its results against readelf, not
objdump.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141579 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Format.h
test/Object/objdump-sectionheaders.test [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp