LLVM  8.0.0svn

The header preceeding each entry in the Module Info substream of the DBI stream. More...

#include "llvm/DebugInfo/PDB/Native/RawTypes.h"

[legend]

## Public Attributes

support::ulittle32_t Mod
Currently opened module. More...

SectionContrib SC
First section contribution of this module. More...

support::ulittle16_t Flags
See ModInfoFlags definition. More...

support::ulittle16_t ModDiStream
Stream Number of module debug info. More...

support::ulittle32_t SymBytes
Size of local symbol debug info in above stream. More...

support::ulittle32_t C11Bytes
Size of C11 line number info in above stream. More...

support::ulittle32_t C13Bytes
Size of C13 line number info in above stream. More...

support::ulittle16_t NumFiles
Number of files contributing to this module. More...

Padding so the next field is 4-byte aligned. More...

support::ulittle32_t FileNameOffs
Array of [0..NumFiles) DBI name buffer offsets. More...

support::ulittle32_t SrcFileNameNI
Name Index for src file name. More...

support::ulittle32_t PdbFilePathNI
Name Index for path to compiler PDB. More...

## Detailed Description

The header preceeding each entry in the Module Info substream of the DBI stream.

Corresponds to the type MODI in the reference implementation.

Definition at line 213 of file RawTypes.h.

## ◆ C11Bytes

Size of C11 line number info in above stream.

Definition at line 233 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().

## ◆ C13Bytes

Size of C13 line number info in above stream.

Definition at line 236 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().

## ◆ FileNameOffs

Array of [0..NumFiles) DBI name buffer offsets.

In the reference implementation this field is a pointer. But since you can't portably serialize a pointer, on 64-bit platforms they copy all the values except this one into the 32-bit version of the struct and use that for serialization. Regardless, this field is unused, it is only there to store a pointer that can be accessed at runtime.

Definition at line 250 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().

## ◆ Flags

See ModInfoFlags definition.

Definition at line 224 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().

## ◆ Mod

Currently opened module.

This field is a pointer in the reference implementation, but that won't work on 64-bit systems, and anyway it doesn't make sense to read a pointer from a file. For now it is unused, so just ignore it.

Definition at line 218 of file RawTypes.h.

## ◆ ModDiStream

Stream Number of module debug info.

Definition at line 227 of file RawTypes.h.

## ◆ NumFiles

Number of files contributing to this module.

Definition at line 239 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().

Padding so the next field is 4-byte aligned.

Definition at line 242 of file RawTypes.h.

## ◆ PdbFilePathNI

Name Index for path to compiler PDB.

Definition at line 256 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().

## ◆ SC

First section contribution of this module.

Definition at line 221 of file RawTypes.h.

## ◆ SrcFileNameNI

Name Index for src file name.

Definition at line 253 of file RawTypes.h.

Referenced by llvm::pdb::DbiModuleDescriptorBuilder::finalize().