1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/include/llvm/LTO
Teresa Johnson 2856a03dce [ThinLTO] Emit files for distributed builds for all modules
With the new LTO API in r278338, we stopped emitting the individual
index files and imports files for some modules in the distributed backend
case (thinlto-index-only plugin option).

Specifically, this is when the linker decides not to include a module in the
link, because it was in an archive library and did not have a strong
reference to it. Not creating the expected output files makes the
distributed build system implementation more difficult, in terms of
checking for the expected outputs of the thin link, and scheduling the
backend jobs. To address this, the gold-plugin will write dummy empty
.thinlto.bc and .imports files for modules not included in the link
(which LTO never sees).

Augmented a gold v1.12+ test, since that version of gold has the handling
for notifying on modules not being included in the link.

llvm-svn: 282100
2016-09-21 19:12:05 +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 [LTO] Add ability to parse AA pipelines. 2016-09-16 21:03:21 +00:00
LTO.h [ThinLTO] Emit files for distributed builds for all modules 2016-09-21 19:12:05 +00:00
LTOBackend.h [LTO] Introduce an Output class to wrap the output stream creation (NFC) 2016-08-17 06:23:09 +00:00