[LLD][COFF] Separate module descriptors creation from type/symbol merging
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 22 Mar 2019 22:07:27 +0000 (22:07 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 22 Mar 2019 22:07:27 +0000 (22:07 +0000)
commit74d5b3322235e72d951f45aa427443b2addcb931
tree8ae96f7dbca365a755e87b980983c4a27275d8b6
parentb68322f9d0f750c5800d7b8b53566236edb42f69
[LLD][COFF] Separate module descriptors creation from type/symbol merging

Take module DBI creation out of PDBLinker::addObjFile() into its own function.

This is groundwork towards parallelizable type merging, as proposed in D59226.

Differential Revision: https://reviews.llvm.org/D59261

llvm-svn: 356815
lld/COFF/InputFiles.h
lld/COFF/PDB.cpp
lld/test/COFF/precomp-link.test