[PATCH] D18994: [LTO] Switch Module to std::unique_ptr<>
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 15:16:30 PDT 2016
ruiu added inline comments.
================
Comment at: ELF/LTO.h:43
@@ +42,3 @@
+ BitcodeCompiler()
+ : Combined(new llvm::Module("blah", Context)), Mover(*Combined.get()){};
+
----------------
blah -> ld-temp.o
*Combined.get() can be *Combined?
Does Combined owns the newly created llvm::Module?
http://reviews.llvm.org/D18994
More information about the llvm-commits
mailing list