]> granicus.if.org Git - llvm/commit
[llvm-pdbutil] Dump image section headers.
authorZachary Turner <zturner@google.com>
Fri, 4 Aug 2017 20:02:38 +0000 (20:02 +0000)
committerZachary Turner <zturner@google.com>
Fri, 4 Aug 2017 20:02:38 +0000 (20:02 +0000)
commit6c8e8aeeac220706e52dee6a2e1505ecc1c25a6c
treef30967cdc7a102fc66776da8d37d75d3dfb796e7
parentc4d2f8768088e0acbe5ac46be86eb48b8fb9108d
[llvm-pdbutil] Dump image section headers.

Image section headers are stored in the DBI stream, but we
had no way to dump them.  This patch adds dumping support,
along with some tests that LLD actually dumps them correctly.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310107 91177308-0d34-0410-b5e6-96231b3b80d8
test/DebugInfo/PDB/pdbdump-headers.test
test/DebugInfo/PDB/section-headers.test [new file with mode: 0644]
tools/llvm-pdbutil/DumpOutputStyle.cpp
tools/llvm-pdbutil/DumpOutputStyle.h
tools/llvm-pdbutil/llvm-pdbutil.cpp
tools/llvm-pdbutil/llvm-pdbutil.h