This is an archive of the discontinued LLVM Phabricator instance.

[llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDB
ClosedPublic

Authored by majnemer on Oct 12 2015, 2:23 PM.

Details

Summary

A PDB can be thought of as a very simple file system. It is
occasionally illuminating to see the contents of the underlying files.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer updated this revision to Diff 37174.Oct 12 2015, 2:23 PM
majnemer retitled this revision from to [llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDB.
majnemer updated this object.
majnemer added a reviewer: zturner.
majnemer added a subscriber: llvm-commits.
zturner added inline comments.Oct 12 2015, 3:33 PM
tools/llvm-pdbdump/llvm-pdbdump.cpp
87–92 ↗(On Diff #37174)

Can we refer to these as streams instead of files? The fact that it's implemented as a file-system like thing is kind of an implementation detail, and I think it's a little confusing for people to see something like dump-file-sizes and get something back that is different than the size of the actual PDB file.

majnemer updated this revision to Diff 37432.Oct 14 2015, 5:57 PM
  • Address review comments
zturner accepted this revision.Oct 14 2015, 6:26 PM
zturner edited edge metadata.
This revision is now accepted and ready to land.Oct 14 2015, 6:26 PM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/test/DebugInfo/PDB/DIA/pdbdump-symbol-format.test