[LLD][COFF] Early load PDB type server files
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Tue, 28 May 2019 15:35:23 +0000 (15:35 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Tue, 28 May 2019 15:35:23 +0000 (15:35 +0000)
commitebe22a1774ed433534a63af0bf5fdc5b5bd821b4
tree342d42d0dc657e28ea51a136e29fb97a9a4dee40
parent8534675cefb427f33c4fa083d2751ef09acccaf5
[LLD][COFF] Early load PDB type server files

We need to have all input files ready before doing debuginfo type merging.
This patch is moving the late PDB type server discovery much earlier in the process, when the explicit inputs (OBJs, LIBs) are loaded.
The short term goal is to parallelize type merging.

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

llvm-svn: 361842
lld/COFF/DebugTypes.cpp
lld/COFF/DebugTypes.h
lld/COFF/Driver.cpp
lld/COFF/Driver.h
lld/COFF/PDB.cpp
lld/test/COFF/Inputs/pdb-type-server-valid-signature.yaml
lld/test/COFF/pdb-type-server-invalid-signature.yaml