llvm.org GIT mirror llvm / 97aed04
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359721 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Weber 1 year, 6 months ago
1 changed file(s) with 17 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
4242 int32_t SectionContributionSize;
4343 int32_t SectionMapSize;
4444 int32_t SourceInfoSize;
45 int32_t TypeServerSize;
45 int32_t TypeServerMapSize;
4646 uint32_t MFCTypeServerIndex;
4747 int32_t OptionalDbgHeaderSize;
4848 int32_t ECSubstreamSize;
104104
105105 - **PdbDllRbld** - Unknown
106106
107 - **MFCTypeServerIndex** - The length of the
108 :ref:`dbi_mfc_type_server_substream`.
107 - **MFCTypeServerIndex** - The index of the MFC type server in the
108 :ref:`dbi_type_server_map_substream`.
109109
110110 - **Flags** - A bitfield with the following layout, containing various
111111 information about how the program was built:
141141
142142 - **SourceInfoSize** - The length of the :ref:`dbi_file_info_substream`.
143143
144 - **TypeServerSize** - The length of the :ref:`dbi_type_server_substream`.
144 - **TypeServerMapSize** - The length of the :ref:`dbi_type_server_map_substream`.
145145
146146 - **OptionalDbgHeaderSize** - The length of the :ref:`dbi_optional_dbg_stream`.
147147
381381 **NamesBuffer** - An array of null terminated strings containing the actual source
382382 file names.
383383
384 .. _dbi_type_server_substream:
385
386 Type Server Substream
387 ^^^^^^^^^^^^^^^^^^^^^
388 Begins at offset ``0`` immediately after the :ref:`dbi_file_info_substream` ends,
389 and consumes ``Header->TypeServerSize`` bytes. Neither the purpose nor the layout
390 of this substream is understood, although it is assumed to related somehow to the
391 usage of ``/Zi`` and ``mspdbsrv.exe``. This substream will not be discussed further.
384 .. _dbi_type_server_map_substream:
385
386 Type Server Map Substream
387 ^^^^^^^^^^^^^^^^^^^^^^^^^
388 Begins at offset ``0`` immediately after the :ref:`dbi_file_info_substream`
389 ends, and consumes ``Header->TypeServerMapSize`` bytes. Neither the purpose
390 nor the layout of this substream is understood, although it is assumed to
391 related somehow to the usage of ``/Zi`` and ``mspdbsrv.exe``. This substream
392 will not be discussed further.
392393
393394 .. _dbi_ec_substream:
394395
395396 EC Substream
396397 ^^^^^^^^^^^^
397 Begins at offset ``0`` immediately after the :ref:`dbi_type_server_substream` ends,
398 and consumes ``Header->ECSubstreamSize`` bytes. This is presumed to be related to
399 Edit & Continue support in MSVC. LLVM does not support Edit & Continue, so this
398 Begins at offset ``0`` immediately after the
399 :ref:`dbi_type_server_map_substream` ends, and consumes
400 ``Header->ECSubstreamSize`` bytes. This is presumed to be related to Edit &
401 Continue support in MSVC. LLVM does not support Edit & Continue, so this
400402 stream will not be discussed further.
401403
402404 .. _dbi_optional_dbg_stream: