[PATCH] D46480: Update ThinLTO Indexing logic

Rumeet Dhindsa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 15:33:13 PDT 2018


rdhindsa created this revision.
rdhindsa added reviewers: tejohnson, ruiu, pcc.
Herald added subscribers: llvm-commits, arichardson, inglorion, emaste.
Herald added a reviewer: espindola.

1. Instead of writing empty index for file, this patch tracks the state of files in  ObjectToIndexFileState. If the files are not indexed , only then we emit the empty files.
2. For ThinLTO Index only, skip cache pruning and iterating over tasks, since there is at most one output object file


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46480

Files:
  lld/ELF/LTO.cpp
  lld/ELF/LTO.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46480.145312.patch
Type: text/x-patch
Size: 4202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/a149b778/attachment-0001.bin>


More information about the llvm-commits mailing list