Update llvm-readobj -coff-resources to display tree structure.
authorEric Beckmann <ecbeckmann@google.com>
Mon, 8 May 2017 02:47:07 +0000 (02:47 +0000)
committerEric Beckmann <ecbeckmann@google.com>
Mon, 8 May 2017 02:47:07 +0000 (02:47 +0000)
commitefef15a0c784839d179727afadc7352435e94a6c
tree2d431c39d0a4775769c0d76908b42630ac658137
parentd6f2639fd70f623c7f6119737428e4363b22c1ea
Update llvm-readobj -coff-resources to display tree structure.

Summary: Continue making updates to llvm-readobj to display resource sections.  This is necessary for testing the up and coming cvtres tool.

Reviewers: zturner

Subscribers: llvm-commits

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

llvm-svn: 302399
llvm/include/llvm/Object/COFF.h
llvm/include/llvm/Support/COFF.h
llvm/lib/Object/COFFObjectFile.cpp
llvm/test/tools/llvm-readobj/Inputs/resources/cursor_small.bmp [new file with mode: 0644]
llvm/test/tools/llvm-readobj/Inputs/resources/okay_small.bmp [new file with mode: 0644]
llvm/test/tools/llvm-readobj/Inputs/resources/test_resource.rc [new file with mode: 0644]
llvm/test/tools/llvm-readobj/Inputs/resources/test_resource.res [new file with mode: 0644]
llvm/test/tools/llvm-readobj/resources.test
llvm/tools/llvm-readobj/COFFDumper.cpp