[PATCH] D23680: [ThinLTO] Emit files for distributed builds for all modules
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 10:22:36 PDT 2016
tejohnson updated this revision to Diff 71952.
tejohnson added a comment.
Address feedback from earlier review:
1) Emit empty summaries for files without any GVs that can be imported
when in ThinLTO mode. This ensures that LTO treats them as ThinLTO
inputs and schedules ThinLTO backends for them. It required a few
fixes to handle the empty summaries.
2) Per offline discussion with Mehdi, for the case where the linker
is not going to include some of the modules in the final link, in
the gold-plugin client itself write the dummy empty files expected by the
distributed build system for all modules.
https://reviews.llvm.org/D23680
Files:
include/llvm/LTO/LTO.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/LTO/LTO.cpp
test/ThinLTO/X86/Inputs/emit_imports.ll
test/ThinLTO/X86/Inputs/empty.ll
test/ThinLTO/X86/emit_imports.ll
test/tools/gold/X86/Inputs/thinlto_empty.ll
test/tools/gold/X86/thinlto_emit_imports.ll
test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
tools/gold/gold-plugin.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23680.71952.patch
Type: text/x-patch
Size: 14024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160920/e5d00cd6/attachment.bin>
More information about the llvm-commits
mailing list