[PATCH] D36163: [llvm-pdbutil] Dump the FPM stream

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 11:02:42 PDT 2017


zturner created this revision.
Herald added a subscriber: hiraditya.

  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.


https://reviews.llvm.org/D36163

Files:
  llvm/include/llvm/DebugInfo/MSF/MSFCommon.h
  llvm/include/llvm/DebugInfo/MSF/MSFStreamLayout.h
  llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h
  llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h
  llvm/lib/DebugInfo/MSF/MSFCommon.cpp
  llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp
  llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp
  llvm/test/DebugInfo/PDB/dump-fpm.test
  llvm/tools/llvm-pdbutil/BytesOutputStyle.cpp
  llvm/tools/llvm-pdbutil/BytesOutputStyle.h
  llvm/tools/llvm-pdbutil/LinePrinter.cpp
  llvm/tools/llvm-pdbutil/LinePrinter.h
  llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
  llvm/tools/llvm-pdbutil/llvm-pdbutil.h
  llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36163.109158.patch
Type: text/x-patch
Size: 14038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/1c6c7c4d/attachment-0001.bin>


More information about the llvm-commits mailing list