davidxl added a subscriber: davidxl.

================
Comment at: include/clang/Driver/Options.td:685
@@ -684,1 +684,3 @@
 def fno_lto : Flag<["-"], "fno-lto">, Group<f_Group>;
+def fthinlto : Flag<["-"], "fthinlto">, Flags<[CC1Option]>, Group<f_Group>;
+def fno_thinlto : Flag<["-"], "fno-thinlto">, Group<f_Group>;
----------------
spell it like "fthin-lto" seems better than one word "fthinlto"

================
Comment at: lib/CodeGen/BackendUtil.cpp:621
@@ -620,2 +620,3 @@
     getPerModulePasses()->add(
-        createBitcodeWriterPass(*OS, CodeGenOpts.EmitLLVMUseLists));
+        createBitcodeWriterPass(*OS, CodeGenOpts.EmitLLVMUseLists,
+                                CodeGenOpts.EmitThinLTOIndex));
----------------
The change to this function is missing in the patch.


http://reviews.llvm.org/D11908



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to