[PATCH] D11907: LLVM support for -fthinlto option, and gold support for thinlto plugin option.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 09:39:10 PDT 2015


tejohnson created this revision.
tejohnson added reviewers: rafael, dexonsmith.
tejohnson added a subscriber: llvm-commits.

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.

http://reviews.llvm.org/D11907

Files:
  include/llvm/Bitcode/BitcodeWriterPass.h
  include/llvm/Bitcode/ReaderWriter.h
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/Bitcode/Writer/BitcodeWriterPass.cpp
  tools/gold/gold-plugin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11907.31676.patch
Type: text/x-patch
Size: 6941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150810/b5804c06/attachment-0001.bin>


More information about the llvm-commits mailing list