llvm/tools/llvm-pdbdump
Zachary Turner 822ef4e420 [msf] Teach LLVM to parse a split Fpm.
The FPM is split at regular intervals across the MSF file, as the MS code
suggests. It turns out that the value of the interval is precisely the
block size. If the block size is 4096, then there are two Fpm pages every
4096 blocks.

So here we teach the PDBFile class to parse a split FPM, and also add more
options when dumping the FPM to display some additional information such
as orphaned pages (pages which the FPM says are allocated, but which
nothing appears to use), use after free pages (pages which the FPM says
are not allocated, but which are referenced by a stream), and multiple use
pages (pages which the FPM says are allocated but are used more than
once).

Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D23022

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277388 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-01 21:19:45 +00:00
..
fuzzer
BuiltinDumper.cpp
BuiltinDumper.h
ClassDefinitionDumper.cpp
ClassDefinitionDumper.h
CMakeLists.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
CompilandDumper.cpp
CompilandDumper.h
EnumDumper.cpp
EnumDumper.h
ExternalSymbolDumper.cpp
ExternalSymbolDumper.h
FunctionDumper.cpp
FunctionDumper.h
LinePrinter.cpp
LinePrinter.h
llvm-pdbdump.cpp [msf] Teach LLVM to parse a split Fpm. 2016-08-01 21:19:45 +00:00
llvm-pdbdump.h [msf] Teach LLVM to parse a split Fpm. 2016-08-01 21:19:45 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMOutputStyle.cpp [msf] Teach LLVM to parse a split Fpm. 2016-08-01 21:19:45 +00:00
LLVMOutputStyle.h [msf] Teach LLVM to parse a split Fpm. 2016-08-01 21:19:45 +00:00
OutputStyle.h
PdbYaml.cpp [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
PdbYaml.h [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
TypedefDumper.cpp
TypedefDumper.h
TypeDumper.cpp
TypeDumper.h
VariableDumper.cpp
VariableDumper.h
YAMLOutputStyle.cpp [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
YAMLOutputStyle.h