In preparation for the parallel LTO codegen work (see splitCodeGen in gold-plugin). If it turns out we don't want parallel LTO for the ELF linker, I'll revert this one.
Details
Details
Diff Detail
Diff Detail
Differential D18994
[LTO] Switch Module to std::unique_ptr<> ClosedPublic Authored by davide on Apr 11 2016, 3:12 PM.
Details Summary In preparation for the parallel LTO codegen work (see splitCodeGen in gold-plugin). If it turns out we don't want parallel LTO for the ELF linker, I'll revert this one.
Diff Detail Event Timelinedavide updated this object.
ruiu edited edge metadata. Comment ActionsLGTM
This revision is now accepted and ready to land.Apr 11 2016, 3:34 PM
Closed by commit rL266009: [LTO] Switch Module to std::unique_ptr<>. (authored by davide). · Explain WhyApr 11 2016, 3:45 PM This revision was automatically updated to reflect the committed changes.
Diff 53331 ELF/LTO.h
ELF/LTO.cpp
|
blah -> ld-temp.o
*Combined.get() can be *Combined?
Does Combined owns the newly created llvm::Module?