[PATCH] D41825: [Docs][PDB] Update MSF File documentation

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 10:35:21 PST 2018


zturner added a comment.

I think it's the block at the beginning that is throwing you off.  *every* interval consists of 4096 blocks.  And *every* interval looks like this:

  +-------------+-------+------------------+------------------+------+------+------+
  | Block Index | 0     | 1                | 2                | 3    | ...  | 4095 |
  +=============+=======+==================+==================+======+======+======+
  | Meaning     | Data  | Free Block Map 1 | Free Block Map 2 | Data | Data | Data |
  +-------------+-------+------------------+------------------+------+------+------+

So each interval has exactly 4096 blocks.  Block 0 is only special in the first interval.  It's still there in every other interval, it just contains regular data.


Repository:
  rL LLVM

https://reviews.llvm.org/D41825





More information about the llvm-commits mailing list