[PATCH] D21220: [pdb] Actually write a PDB to the disk

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 00:49:57 PDT 2016


zturner created this revision.
zturner added reviewers: rnk, ruiu, majnemer.
zturner added a subscriber: llvm-commits.

Finally!  We can write a real PDB file to the disk.  There's still quite a bit of work to be done on this codepath, but in its current limited form, it can dump MSF headers and stream directory information to YAML, then read it back in and produce a PDB from that information, then dump the resulting PDB back to YAML and the dumped YAML is identical.

http://reviews.llvm.org/D21220

Files:
  include/llvm/DebugInfo/CodeView/ByteStream.h
  include/llvm/DebugInfo/CodeView/StreamInterface.h
  include/llvm/DebugInfo/CodeView/StreamRef.h
  include/llvm/DebugInfo/CodeView/StreamWriter.h
  include/llvm/DebugInfo/PDB/Raw/IPDBFile.h
  include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h
  include/llvm/DebugInfo/PDB/Raw/PDBFile.h
  lib/DebugInfo/CodeView/ByteStream.cpp
  lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp
  lib/DebugInfo/PDB/Raw/PDBFile.cpp
  lib/DebugInfo/PDB/Raw/RawSession.cpp
  test/DebugInfo/PDB/pdbdump-headers.test
  test/DebugInfo/PDB/pdbdump-write.test
  test/DebugInfo/PDB/pdbdump-yaml.test
  tools/llvm-pdbdump/LLVMOutputStyle.cpp
  tools/llvm-pdbdump/PdbYaml.cpp
  tools/llvm-pdbdump/PdbYaml.h
  tools/llvm-pdbdump/YAMLOutputStyle.cpp
  tools/llvm-pdbdump/llvm-pdbdump.cpp
  tools/llvm-pdbdump/llvm-pdbdump.h
  unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21220.60316.patch
Type: text/x-patch
Size: 36535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160610/1cf66866/attachment.bin>


More information about the llvm-commits mailing list