[llvm-pdbutil] Dump more info about globals.
authorZachary Turner <zturner@google.com>
Fri, 6 Jul 2018 02:59:25 +0000 (02:59 +0000)
committerZachary Turner <zturner@google.com>
Fri, 6 Jul 2018 02:59:25 +0000 (02:59 +0000)
commit457cc34e48586b8920f8aa5a1a7e3364fbadfbf3
treed2300f1fa902f5fa957a49a4bca1ac39e357ac72
parentb351f09c9e945264855b99667a275fc513d04e77
[llvm-pdbutil] Dump more info about globals.

We add an option to dump the entire global / public symbol record
stream.  Previously we would dump globals or publics, but not both.
And when we did dump them, we would always dump them in the order
they were referenced by the corresponding hash streams, not in
the order they were serialized in.  This patch adds a lower level
mode that just dumps the whole stream in serialization order.

Additionally, when dumping global-extras, we now dump the hash
bitmap as well as the record offset instead of dumping all zeros
for the offsets.

llvm-svn: 336407
lld/test/COFF/pdb.test
llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
llvm/tools/llvm-pdbutil/DumpOutputStyle.h
llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
llvm/tools/llvm-pdbutil/llvm-pdbutil.h