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 b6ffcf7fbd [LTO] Fix handling of mixed (regular and thin) mode LTO
Summary:
In runThinLTO we start the task numbering for ThinLTO backend
tasks depending on whether there was also a regular LTO object
(CombinedModule). However, the CombinedModule is moved at
the end of runRegularLTO, so we need to save this information and
pass it into runThinLTO. Otherwise the AddOutput callback to the client
will use the same task number for both the regular LTO object
and the first ThinLTO object, which in gold-plugin caused only
one to be end up in the output filename array and therefore passed
back to gold for the final native link.

Reviewers: pcc, mehdi_amini

Subscribers: mehdi_amini, kromanova

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

llvm-svn: 281725
2016-09-16 13:54:19 +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 [lib/LTO] Add a way to run a custom pipeline 2016-09-07 17:46:16 +00:00
LTO.h [LTO] Fix handling of mixed (regular and thin) mode LTO 2016-09-16 13:54:19 +00:00
LTOBackend.h