This is an archive of the discontinued LLVM Phabricator instance.

[ThinLTO] Optionally ignore empty index file
AbandonedPublic

Authored by tejohnson on Jan 5 2017, 9:24 AM.

Details

Reviewers
mehdi_amini
Summary

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.
Fallback is enabled under an option with this patch (I am investigating
whether this can be addressed in our build system, but that is a longer
term fix and so this enables a workaround in the meantime).

Event Timeline

tejohnson updated this revision to Diff 83264.Jan 5 2017, 9:24 AM
tejohnson retitled this revision from to [ThinLTO] Optionally ignore empty index file.
tejohnson updated this object.
tejohnson added a reviewer: mehdi_amini.
tejohnson added a subscriber: llvm-commits.
tejohnson abandoned this revision.Jan 5 2017, 9:24 AM

Should have added cfe-commits not llvm-commits!