llvm-project/llvm/lib/DebugInfo
Zachary Turner d3c7b8e303 [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

llvm-svn: 277388
2016-08-01 21:19:45 +00:00
..
CodeView [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
DWARF Avoid dsymutil calls to getFileNameByIndex. 2016-07-22 01:41:32 +00:00
MSF [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
PDB [msf] Teach LLVM to parse a split Fpm. 2016-08-01 21:19:45 +00:00
Symbolize Prune RelocVisitor.h include to avoid including COFF.h from MCJIT.h 2016-07-06 16:56:42 +00:00
CMakeLists.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00