[ThinLTO/gold] Add caching support to gold-plugin
authorTeresa Johnson <tejohnson@google.com>
Wed, 24 Aug 2016 15:11:47 +0000 (15:11 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 24 Aug 2016 15:11:47 +0000 (15:11 +0000)
commit57891a50a8d938f37ff1956c98dc73ffcdc81549
tree2892e4838cf0c1ddc4fb6aa6bca008aa33f891a9
parent27252176808c7a04ae31a469be3c31cdf87e949b
[ThinLTO/gold] Add caching support to gold-plugin

Summary:
With support now in the new LTO API for caching (r279576), add
optional ThinLTO caching in the gold-plugin.

Reviewers: mehdi_amini

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D23836

llvm-svn: 279631
llvm/test/tools/gold/X86/Inputs/cache.ll [new file with mode: 0644]
llvm/test/tools/gold/X86/cache.ll [new file with mode: 0644]
llvm/tools/gold/gold-plugin.cpp