[PATCH] D43415: [ThinLTO] Always create linked objects file for --thinlto-index-only=

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 14:52:08 PST 2018


vitalybuka created this revision.
vitalybuka added reviewers: pcc, tejohnson.
Herald added subscribers: hiraditya, eraman, inglorion, mehdi_amini.

ThinLTO indexing may decide to skip all objects. If we don't write something to
the list build system may consider this as failure or linker can reuse a file
from the previews build.


https://reviews.llvm.org/D43415

Files:
  llvm/include/llvm/LTO/LTO.h
  llvm/lib/LTO/LTO.cpp
  llvm/test/tools/gold/X86/thinlto_no_objects.ll
  llvm/tools/gold/gold-plugin.cpp
  llvm/tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43415.134731.patch
Type: text/x-patch
Size: 7525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/b25dbcb8/attachment.bin>


More information about the llvm-commits mailing list