[llvm] r359721 - Try to unbreak sphinx bot after r359714

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 13:00:45 PDT 2019


Author: nico
Date: Wed May  1 13:00:45 2019
New Revision: 359721

URL: http://llvm.org/viewvc/llvm-project?rev=359721&view=rev
Log:
Try to unbreak sphinx bot after r359714

The now-correctly-referenced label dbi_type_server_map_substream didn't
exist. Rewrite things a bit after looking at NewDBIHdr in dbi.h and its
use in dbi.cpp in the reference implementation.

Modified:
    llvm/trunk/docs/PDB/DbiStream.rst

Modified: llvm/trunk/docs/PDB/DbiStream.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/PDB/DbiStream.rst?rev=359721&r1=359720&r2=359721&view=diff
==============================================================================
--- llvm/trunk/docs/PDB/DbiStream.rst (original)
+++ llvm/trunk/docs/PDB/DbiStream.rst Wed May  1 13:00:45 2019
@@ -43,7 +43,7 @@ At offset 0 of the DBI Stream is a heade
     int32_t SectionContributionSize;
     int32_t SectionMapSize;
     int32_t SourceInfoSize;
-    int32_t TypeServerSize;
+    int32_t TypeServerMapSize;
     uint32_t MFCTypeServerIndex;
     int32_t OptionalDbgHeaderSize;
     int32_t ECSubstreamSize;
@@ -105,8 +105,8 @@ further guidance.
   
 - **PdbDllRbld** - Unknown
 
-- **MFCTypeServerIndex** - The length of the
-  :ref:`dbi_mfc_type_server_substream`.
+- **MFCTypeServerIndex** - The index of the MFC type server in the
+  :ref:`dbi_type_server_map_substream`.
 
 - **Flags** - A bitfield with the following layout, containing various
   information about how the program was built:
@@ -142,7 +142,7 @@ of each of the following ``7`` fields.
 
 - **SourceInfoSize** - The length of the :ref:`dbi_file_info_substream`.
 
-- **TypeServerSize** - The length of the :ref:`dbi_type_server_substream`. 
+- **TypeServerMapSize** - The length of the :ref:`dbi_type_server_map_substream`.
 
 - **OptionalDbgHeaderSize** - The length of the :ref:`dbi_optional_dbg_stream`.
 
@@ -382,22 +382,24 @@ each integer is an offset into **NamesBu
 **NamesBuffer** - An array of null terminated strings containing the actual source
 file names.
 
-.. _dbi_type_server_substream:
+.. _dbi_type_server_map_substream:
 
-Type Server Substream
-^^^^^^^^^^^^^^^^^^^^^
-Begins at offset ``0`` immediately after the :ref:`dbi_file_info_substream` ends,
-and consumes ``Header->TypeServerSize`` bytes.  Neither the purpose nor the layout
-of this substream is understood, although it is assumed to related somehow to the
-usage of ``/Zi`` and ``mspdbsrv.exe``.  This substream will not be discussed further.
+Type Server Map Substream
+^^^^^^^^^^^^^^^^^^^^^^^^^
+Begins at offset ``0`` immediately after the :ref:`dbi_file_info_substream`
+ends, and consumes ``Header->TypeServerMapSize`` bytes.  Neither the purpose
+nor the layout of this substream is understood, although it is assumed to
+related somehow to the usage of ``/Zi`` and ``mspdbsrv.exe``.  This substream
+will not be discussed further.
 
 .. _dbi_ec_substream:
 
 EC Substream
 ^^^^^^^^^^^^
-Begins at offset ``0`` immediately after the :ref:`dbi_type_server_substream` ends,
-and consumes ``Header->ECSubstreamSize`` bytes.  This is presumed to be related to
-Edit & Continue support in MSVC.  LLVM does not support Edit & Continue, so this
+Begins at offset ``0`` immediately after the
+:ref:`dbi_type_server_map_substream` ends, and consumes
+``Header->ECSubstreamSize`` bytes.  This is presumed to be related to Edit &
+Continue support in MSVC.  LLVM does not support Edit & Continue, so this
 stream will not be discussed further.
 
 .. _dbi_optional_dbg_stream:




More information about the llvm-commits mailing list