[llvm-pdbutil] Dig deeper into the PDB and DBI streams when explaining.
authorZachary Turner <zturner@google.com>
Fri, 30 Mar 2018 17:16:50 +0000 (17:16 +0000)
committerZachary Turner <zturner@google.com>
Fri, 30 Mar 2018 17:16:50 +0000 (17:16 +0000)
commitd5cf5cf637918664c6de75c0685786acb2a2b92c
treeda6a5622ec4166360922f051c7b09b7ec892d1be
parent0945ad6643e240bb9fb5c89b3abdfa0f9b9bfac2
[llvm-pdbutil] Dig deeper into the PDB and DBI streams when explaining.

This will show more detail when using `llvm-pdbutil explain` on an
offset in the DBI or PDB streams.  Specifically, it will dig into
individual header fields and substreams to give a more precise
description of what the byte represents.

llvm-svn: 328878
llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h
llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h
llvm/lib/DebugInfo/PDB/Native/InfoStream.cpp
llvm/test/tools/llvm-pdbdump/explain-dbi-stream.test [new file with mode: 0644]
llvm/test/tools/llvm-pdbdump/explain-pdb-stream.test [new file with mode: 0644]
llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp
llvm/tools/llvm-pdbutil/ExplainOutputStyle.h
llvm/tools/llvm-pdbutil/StreamUtil.cpp
llvm/tools/llvm-pdbutil/StreamUtil.h
llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
llvm/tools/llvm-pdbutil/llvm-pdbutil.h