This is an archive of the discontinued LLVM Phabricator instance.

[PDB] Add documentation for the PDB Stream
Needs ReviewPublic

Authored by zturner on Nov 10 2016, 11:37 AM.

Details

Summary

This continues the effort to the document the PDB file format. This documents the first important stream, the PDB Stream.

Diff Detail

Event Timeline

zturner updated this revision to Diff 77520.Nov 10 2016, 11:37 AM
zturner retitled this revision from to [PDB] Add documentation for the PDB Stream.
zturner updated this object.
zturner added reviewers: majnemer, rnk, inglorion, amccarth, ruiu.
zturner added a subscriber: llvm-commits.
amccarth edited edge metadata.Nov 14 2016, 11:47 AM

Is the header the only thing in the stream? The word "header" suggests that there's something more after it, but this seems to describe only the header.

docs/PDB/PdbStream.rst
54

So a brand new PDB has an Age of 1 not 0?

69

Did you close the parentheses too soon? I assume you only increment the Age when updating a PDB. Otherwise, you'd just be initializing the Age, right?