OSDN Git Service

[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)
commit224acd245300fb933d58d892152dc0d802636adb
tree76b23b61ca48069f2e5a8d97a4b8b1903d76eced
parent1d4cf6e01f23288b26ee2a7ead6f07469d28ca3c
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301578 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/COFF.h
test/tools/llvm-readobj/resources.test [new file with mode: 0644]
tools/llvm-readobj/COFFDumper.cpp
tools/llvm-readobj/ObjDumper.h
tools/llvm-readobj/llvm-readobj.cpp