When writing a PDB, the OutputSection of all chunks need to be set. The thunks are added directly to OutputSection after the normal machinery that sets it for all other chunks.
This fixes part of PR40467.
Differential D57574
[LLD] [COFF] Fix crashes when writing a PDB after adding thunks. Authored by mstorsjo on Feb 1 2019, 2:25 AM.
Details
When writing a PDB, the OutputSection of all chunks need to be set. The thunks are added directly to OutputSection after the normal machinery that sets it for all other chunks. This fixes part of PR40467.
Diff Detail
|