[PATCH] D59053: [LLD][COFF] Early dependency detection

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 14:28:46 PST 2019


aganea created this revision.
aganea added reviewers: rnk, zturner, ruiu, mstorsjo.
Herald added a subscriber: jdoerfert.
Herald added a project: LLVM.

This patch adds more fine grained information in `ObjFile` about dependent TypeServer PDBs and Precomp PCH.OBJs.
OBJ files that rely on such dependencies require those dependent PDBs and PCH.OBJs to be loaded & merged **first**.

Previously, this information was detected much later, just before merging the type stream for a given OBJ.

This is part of ground work towards parallelizing the type merging. The objective is to split `PDBLinker::addObjFile` into several smaller parallelizable pieces.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D59053

Files:
  COFF/InputFiles.cpp
  COFF/InputFiles.h
  COFF/PDB.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59053.189591.patch
Type: text/x-patch
Size: 9564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190306/abcc33e2/attachment.bin>


More information about the llvm-commits mailing list