commit | 8c1602df5088d633d11437a1df2121fdd1946349 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Mon Aug 24 22:22:53 2015 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Mon Aug 24 22:22:53 2015 +0000 |
tree | a66a291178fd5ee44363fcc8753bab670cefe751 | |
parent | 3a9c43563bb0604b6bfcc7d5a44a0331633593ce [diff] |
LTO: Simplify merged module ownership. This change moves LTOCodeGenerator's ownership of the merged module to a field of type std::unique_ptr<Module>. This helps simplify parts of the code and clears the way for the module to be consumed by LLVM CodeGen (see D12132 review comments). Differential Revision: http://reviews.llvm.org/D12205 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245891 91177308-0d34-0410-b5e6-96231b3b80d8