1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/tools/llvm-lto2
Teresa Johnson 048eeff265 [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

llvm-svn: 279883
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