llvm/tools/llvm-lto2
Teresa Johnson d80408f437 [ThinLTO] Move loading of cache entry to client
Summary:
Have the cache pass back the path to the cache entry when it
is ready to be loaded, instead of a buffer.

For gold-plugin we can simply pass this file back to gold directly,
which avoids expensive writing of a separate tmp file. Ensure
the cache entry is not deleted on cleanup by adjusting the setting
of the IsTemporary flags.

Moved the loading of the buffer into llvm-lto2 to maintain current
behavior.

Reviewers: mehdi_amini

Subscribers: llvm-commits, mehdi_amini

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279883 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-26 23:29:14 +00:00
..
CMakeLists.txt Add (hopefully last) remaining missing dependences to llvm-lto2 2016-08-11 16:29:47 +00:00
llvm-lto2.cpp [ThinLTO] Move loading of cache entry to client 2016-08-26 23:29:14 +00:00
LLVMBuild.txt Add (hopefully last) remaining missing dependences to llvm-lto2 2016-08-11 16:29:47 +00:00