On 01/14/2015 01:06 AM, Richard Biener wrote:
Whenever I get to the LTO part of this project, I promise to start
documenting things better. This whole thing is a mystery.
Well - mostly to me as well ;) I'll let Honza answer this...
Ha, you're being too modest! I get the feeling that no one wants to own
up to LTO :).
So...
Would anyone mind if I removed all references of "WHOPR" in the
documentation (doc/lto.texi) and in *most* of the comments in the
source? AFAICT, WHOPR has been the default LTO mode since Richard's
linker plugin patch here:
https://gcc.gnu.org/ml/gcc-patches/2014-03/msg00157.html
From what I can see, WHOPR is the default unless no partitions were
found, but otherwise there is no way to disable it. It's just confusing
to have this nomenclature that is mostly not applicable.
I obviously wouldn't change actual code, since we're past stage1, but
comments/documentation are fair game. Eventually, I'd like to change
the code to something like "LTO partitioning mode" or something (at the
next stage1).
Would this be acceptable?
Aldy