OSDN Git Service

[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)
commit7f08d4abd848504a679b888e2f514d2f42ea04cc
tree7dffdde02a587316343bba14069847428ef980eb
parent0b9754cd9abe1ab7ef56e45c0a53c193c7ffb9e0
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336407 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-pdbutil/DumpOutputStyle.cpp
tools/llvm-pdbutil/DumpOutputStyle.h
tools/llvm-pdbutil/llvm-pdbutil.cpp
tools/llvm-pdbutil/llvm-pdbutil.h