[PATCH] D18667: ELF: Add flag for controlling LTO optimization level.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 13:08:39 PDT 2016


pcc added inline comments.

================
Comment at: ELF/Options.td:78
@@ -77,1 +77,3 @@
 
+def lto_O : Joined<["--"], "lto-O">, MetaVarName<"<opt-level>">,
+  HelpText<"Optimization level for LTO">;
----------------
ruiu wrote:
> I don't know if -lto-O is a good name. Does the gold LTO plugin have a simliar option? If so, what's the name of the option?
It's `-plugin-opt=O`. I guess we don't want to use any plugin flags here.


http://reviews.llvm.org/D18667





More information about the llvm-commits mailing list