@@ -43,7 +43,7 @@ At offset 0 of the DBI Stream is a header with the following layout:
4343 int32_t SectionContributionSize;
4444 int32_t SectionMapSize;
4545 int32_t SourceInfoSize;
46- int32_t TypeServerSize ;
46+ int32_t TypeServerMapSize ;
4747 uint32_t MFCTypeServerIndex;
4848 int32_t OptionalDbgHeaderSize;
4949 int32_t ECSubstreamSize;
@@ -105,8 +105,8 @@ further guidance.
105105
106106- **PdbDllRbld ** - Unknown
107107
108- - **MFCTypeServerIndex ** - The length of the
109- :ref: `dbi_mfc_type_server_substream `.
108+ - **MFCTypeServerIndex ** - The index of the MFC type server in the
109+ :ref: `dbi_type_server_map_substream `.
110110
111111- **Flags ** - A bitfield with the following layout, containing various
112112 information about how the program was built:
@@ -142,7 +142,7 @@ of each of the following ``7`` fields.
142142
143143- **SourceInfoSize ** - The length of the :ref: `dbi_file_info_substream `.
144144
145- - **TypeServerSize ** - The length of the :ref: `dbi_type_server_substream `.
145+ - **TypeServerMapSize ** - The length of the :ref: `dbi_type_server_map_substream `.
146146
147147- **OptionalDbgHeaderSize ** - The length of the :ref: `dbi_optional_dbg_stream `.
148148
@@ -382,22 +382,24 @@ each integer is an offset into **NamesBuffer** pointing to a null terminated str
382382**NamesBuffer ** - An array of null terminated strings containing the actual source
383383file names.
384384
385- .. _ dbi_type_server_substream :
385+ .. _ dbi_type_server_map_substream :
386386
387- Type Server Substream
388- ^^^^^^^^^^^^^^^^^^^^^
389- Begins at offset ``0 `` immediately after the :ref: `dbi_file_info_substream ` ends,
390- and consumes ``Header->TypeServerSize `` bytes. Neither the purpose nor the layout
391- of this substream is understood, although it is assumed to related somehow to the
392- usage of ``/Zi `` and ``mspdbsrv.exe ``. This substream will not be discussed further.
387+ Type Server Map Substream
388+ ^^^^^^^^^^^^^^^^^^^^^^^^^
389+ Begins at offset ``0 `` immediately after the :ref: `dbi_file_info_substream `
390+ ends, and consumes ``Header->TypeServerMapSize `` bytes. Neither the purpose
391+ nor the layout of this substream is understood, although it is assumed to
392+ related somehow to the usage of ``/Zi `` and ``mspdbsrv.exe ``. This substream
393+ will not be discussed further.
393394
394395.. _dbi_ec_substream :
395396
396397EC Substream
397398^^^^^^^^^^^^
398- Begins at offset ``0 `` immediately after the :ref: `dbi_type_server_substream ` ends,
399- and consumes ``Header->ECSubstreamSize `` bytes. This is presumed to be related to
400- Edit & Continue support in MSVC. LLVM does not support Edit & Continue, so this
399+ Begins at offset ``0 `` immediately after the
400+ :ref: `dbi_type_server_map_substream ` ends, and consumes
401+ ``Header->ECSubstreamSize `` bytes. This is presumed to be related to Edit &
402+ Continue support in MSVC. LLVM does not support Edit & Continue, so this
401403stream will not be discussed further.
402404
403405.. _dbi_optional_dbg_stream :
0 commit comments