1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/include/llvm/LTO
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
..
legacy [LTOCodeGenerator] Reduce code duplication. NFCI. 2016-08-23 12:32:57 +00:00
Caching.h [ThinLTO] Move loading of cache entry to client 2016-08-26 23:29:14 +00:00
Config.h [ThinLTO] Add caching to the new LTO API 2016-08-23 21:30:12 +00:00
LTO.h Make writeToResolutionFile a static helper. 2016-08-26 20:19:35 +00:00
LTOBackend.h [LTO] Introduce an Output class to wrap the output stream creation (NFC) 2016-08-17 06:23:09 +00:00