[PATCH] D60095: [LLD][COFF] Move PDB type server loading from PDB.cp early into InputFiles.cpp and introduce PDBInputFile

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 13:28:37 PDT 2019


aganea created this revision.
aganea added reviewers: rnk, zturner, ruiu.
Herald added subscribers: llvm-commits, aprantl.
Herald added a project: LLVM.

In order to have all inputs loaded & available upfront when starting to merge types, we need to open PDB type servers early in the process.

PDB type servers are created when using MSVC /Zi. In that case, the debug info for a given project is stored in a single PDB type server file. All OBJs in that project will only refer to that PDB through a `TypeServer2Record`.

This patch is step 2. in "Proposed commit strategy" in D59226 <https://reviews.llvm.org/D59226>


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D60095

Files:
  COFF/DebugTypes.cpp
  COFF/DebugTypes.h
  COFF/Driver.cpp
  COFF/Driver.h
  COFF/InputFiles.cpp
  COFF/InputFiles.h
  COFF/PDB.cpp
  test/COFF/Inputs/pdb-type-server-valid-signature.yaml
  test/COFF/pdb-type-server-invalid-signature.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60095.193163.patch
Type: text/x-patch
Size: 17708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190401/137ab896/attachment.bin>


More information about the llvm-commits mailing list