[llvm-readobj] Dump COFF Resources section.
authorZachary Turner <zturner@google.com>
Thu, 27 Apr 2017 19:38:38 +0000 (19:38 +0000)
committerZachary Turner <zturner@google.com>
Thu, 27 Apr 2017 19:38:38 +0000 (19:38 +0000)
commit8d6396d3b01dbaba38640d37525ce04a35cd17bb
tree1e2f209b9bfc14129bb4d6dabda579a86342db0c
parent7ec263672cfe1220f032dc8c5f02d75e4c4b1829
[llvm-readobj] Dump COFF Resources section.

This patch dumps the raw bytes of the .rsrc sections that
are present in COFF object and executable files.  Subsequent
patches will parse this information and dump in a more human
readable format.

Differential Revision: https://reviews.llvm.org/D32463
Patch By: Eric Beckmann

llvm-svn: 301578
llvm/include/llvm/Object/COFF.h
llvm/test/tools/llvm-readobj/resources.test [new file with mode: 0644]
llvm/tools/llvm-readobj/COFFDumper.cpp
llvm/tools/llvm-readobj/ObjDumper.h
llvm/tools/llvm-readobj/llvm-readobj.cpp