[PATCH] D28362: [ThinLTO] Optionally ignore empty index file
Mehdi AMINI via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 6 13:33:01 PST 2017
mehdi_amini added a comment.
> In order to simplify distributed build system integration, where actions
may be scheduled before the Thin Link which determines the list of
objects selected by the linker. The gold plugin currently will emit
0-sized index files for objects not selected by the link, to enable
checking for expected output files by the build system. If the build
system then schedules a backend action for these bitcode files, we want
to be able to fall back to normal compilation instead of failing.
Just thought about it: why not emit an empty *index* instead of an empty file?
https://reviews.llvm.org/D28362
More information about the cfe-commits
mailing list