[PDB] Fix a bug in the explain subcommand.
authorZachary Turner <zturner@google.com>
Thu, 29 Mar 2018 17:11:14 +0000 (17:11 +0000)
committerZachary Turner <zturner@google.com>
Thu, 29 Mar 2018 17:11:14 +0000 (17:11 +0000)
commit1b20416bfa4ed906d5b5f289aa8a4430b9620132
treebe0f346326ab83b46a4cb5fcf3c180d417e4ee5a
parentb458329327978b40f2f166a5a637fd4ef12c3883
[PDB] Fix a bug in the explain subcommand.

We were trying to dig into the super block fields and print a
description of the field at the specified offset, but we were
printing the wrong field due to an off-by-one-field-error.

llvm-svn: 328804
llvm/test/tools/llvm-pdbdump/explain.test
llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp