[PATCH] D18999: [ELF/LTO] Parallel Codegen for LLD
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 15 13:02:39 PDT 2016
joker.eph added inline comments.
================
Comment at: ELF/LTO.cpp:155
@@ +154,3 @@
+ splitCodeGen(std::move(Combined), OSPtrs, {},
+ std::bind(&BitcodeCompiler::getTargetMachine, this));
+
----------------
ruiu wrote:
> Does
>
> [&]() { return getTargetMachine; }
>
> work?
Rather: `[this] () { return getTargetMachine(); }`
http://reviews.llvm.org/D18999
More information about the llvm-commits
mailing list