Re-land [LLD][COFF] Early load PDB type server files
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 3 Jun 2019 12:39:47 +0000 (12:39 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 3 Jun 2019 12:39:47 +0000 (12:39 +0000)
commit9c78db6005370b779a41f6914cad46d4f5a992ea
treebd387efa040c7ca27c2ea0fb9d858bde6c16543a
parentc69ee63cb981ed5fcb66fb37864fcbc7a946207a
Re-land [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: 362393
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-invalid-path.yaml [new file with mode: 0644]
lld/test/COFF/Inputs/pdb-type-server-valid-signature.yaml
lld/test/COFF/pdb-type-server-invalid-signature.yaml