[PATCH] D25452: [LTO] Split the options for ThinLTO jobs and Regular LTO partitions

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 13:56:18 PDT 2016


ruiu added inline comments.


================
Comment at: ELF/Driver.cpp:486
+  if (Config->LtoPartitions == 0)
     error("number of threads must be > 0");
+  Config->ThinLtoJobs = getInteger(Args, OPT_thinlto_jobs, 1);
----------------
It is better to include the option name here.

  "--lto-partitions: number of thread must be >0"


https://reviews.llvm.org/D25452





More information about the llvm-commits mailing list