[PATCH] D11907: LLVM support for -fthinlto option, and gold support for thinlto plugin option.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 15:00:36 PDT 2015


pcc added a subscriber: pcc.

================
Comment at: tools/gold/gold-plugin.cpp:132
@@ -127,1 +131,3 @@
       TheOutputType = OT_DISABLE;
+    } else if (opt == "thinlto") {
+      thinlto = true;
----------------
Do we need a new plugin option? Would it not be possible to determine whether ThinLTO is needed by reading the intermediate files?


http://reviews.llvm.org/D11907





More information about the llvm-commits mailing list