This is an archive of the discontinued LLVM Phabricator instance.

LLVM support for -fthinlto option, and gold support for thinlto plugin option.
AbandonedPublic

Authored by tejohnson on Aug 10 2015, 8:56 AM.

Details

Summary

Add basic LLVM support for the -fthinlto option, which will
be passed to LLVM via the EmitThinLTOIndex code gen option. This will
be used to guard the ThinLTO bitcode writing in WriteModule shown in
http://reviews.llvm.org/D11722.

Also add support for the thinlto gold plugin option that will be passed
by clang for -fthinlto links. It will be used to guard ThinLTO combined
index file writing.

The associated clang patch is http://reviews.llvm.org/D11906.

Diff Detail

Event Timeline

tejohnson updated this revision to Diff 31674.Aug 10 2015, 8:56 AM
tejohnson retitled this revision from to LLVM support for -fthinlto option, and gold support for thinlto plugin option..
tejohnson updated this object.
tejohnson updated this object.Aug 10 2015, 8:59 AM
tejohnson abandoned this revision.Aug 10 2015, 9:33 AM

Abandoning as per klimek, need to add llvm-commit as subscriber during upload.