diff options
| author | Zachary Turner <zturner@google.com> | 2017-08-02 22:25:52 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-08-02 22:25:52 +0000 |
| commit | c3d8eec9e9a96be8ab87dea895f5ee452347192d (patch) | |
| tree | 5615cbaef219918c97504e38e9680b7f1a807127 /llvm/tools/llvm-pdbutil/BytesOutputStyle.h | |
| parent | a2f57be26073562b40e8ea2bd76aa4f1d3142f61 (diff) | |
| download | bcm5719-llvm-c3d8eec9e9a96be8ab87dea895f5ee452347192d.tar.gz bcm5719-llvm-c3d8eec9e9a96be8ab87dea895f5ee452347192d.zip | |
[pdbutil] Add a command to dump the FPM.
Recently problems have been discovered in the way we write the FPM
(free page map). In order to fix this, we first need to establish
a baseline about what a correct FPM looks like using an MSVC
generated PDB, so that we can then make our own generated PDBs
match. And in order to do this, the dumper needs a mode where it
can dump an FPM so that we can write tests for it.
This patch adds a command to dump the FPM, as well as a test against
a known-good PDB.
llvm-svn: 309894
Diffstat (limited to 'llvm/tools/llvm-pdbutil/BytesOutputStyle.h')
| -rw-r--r-- | llvm/tools/llvm-pdbutil/BytesOutputStyle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-pdbutil/BytesOutputStyle.h b/llvm/tools/llvm-pdbutil/BytesOutputStyle.h index c162163fdd0..876178d56ab 100644 --- a/llvm/tools/llvm-pdbutil/BytesOutputStyle.h +++ b/llvm/tools/llvm-pdbutil/BytesOutputStyle.h @@ -35,6 +35,7 @@ private: void dumpNameMap(); void dumpBlockRanges(uint32_t Min, uint32_t Max); void dumpByteRanges(uint32_t Min, uint32_t Max); + void dumpFpm(); void dumpStreamBytes(); void dumpSectionContributions(); |

