[PATCH] D19139: [LTO] SplitCodeGen new API
Michael Spencer via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 16:41:37 PDT 2016
Bigcheese added inline comments.
================
Comment at: lib/CodeGen/ParallelCG.cpp:50-54
@@ -52,1 +49,7 @@
report_fatal_error(Twine("Target not found: ") + ErrMsg);
+ return splitCodeGen(std::move(M), OSs, BCOSs,
+ [=]() {
+ return std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine(
+ TripleStr, CPU, Features, Options, RM, CM, OL));
+ }, FileType, PreserveLocals);
+}
----------------
clang-format.
Repository:
rL LLVM
http://reviews.llvm.org/D19139
More information about the llvm-commits
mailing list