ShowGlobals tool to dump large/repeated Win32 globals

When investigating binary size regressions or just looking for size
reduction opportunities it can be helpful to examine global variables.
The most interesting ones are those that are repeated (due to abuse of
const or static in header files) or those that are very large. This tool
uses DIA2 to analyze a PDB and print the interesting global variables.

The configuration options for what is large enough to count as
interesting are in the code - making them command-line arguments is left
as an exercise for some future developer.

This is not part of the regular Chromium build. Project files are
included for building with Visual Studio.

BUG=630755

Review-Url: https://codereview.chromium.org/2580833003
Cr-Commit-Position: refs/heads/master@{#439981}
3 files changed