One piece of the DBI stream is a list of module descriptors that include information about object file name, Stream index of the module's symbols, etc.
One piece of this descriptor that we have been leaving blank is the section contribution structure. Although I'm not entirely sure what part of the debugger uses this (if any) it's important that we try to emit something correct to minimize the risk of strange hard-to-diagnose failures.
Comments in the refernece source indicate that this is supposed be the *first* section contribution for the module. So, we simply emit a copy of the same structure that we emit for the section contribution list, but only for the first chunk for a given module.
Comparing LLD and link PDBs side by side, the results are now very similar.