6.1.6 Linker Support for Microsoft CodeView® Debug Information
To support CodeView debug information, the linker:
- Generates the header and "NB05" signature.
- Packages the header with .debug$S and .debug$T sections from object files and synthetic (linker-generated) CV4 information, and creates a debug directory entry.
- Generates the subsection directory containing a pointer to each known subsection, including subsections that are linker-generated.
- Generates the sstModules subsection, which specifies the address and size of each module's contribution(s) to the image address space.
- Generates the sstSegMap subsection, which specifies the address and size of each section in the image.
- Generates the sstPublicSym subsection, which contains the name and address of all externally defined symbols. (A symbol may be represented both by .debug$S information and by an sstPublicSym entry.)