Add -fauto-profile option to Clang driver

Diego Novillo dnovillo at google.com
Tue Oct 22 10:08:00 PDT 2013


On Tue, Oct 22, 2013 at 1:06 PM, Chandler Carruth <chandlerc at google.com> wrote:
> My only objection to this patch is the use of the word "auto". ;] While I
> know there is some historical precedent, I think that if this is going into
> mainline Clang, it would be worthwhile to strive for a more descriptive
> name. '-fsample-profile'? Other ideas?

It cannot be 'sample'.  This option will take all kinds of profiles
that will be treated separately in the backend according to their
nature.

We need something generic here. What's the problem with "auto". Does
it have a different connotation?


Diego.



More information about the cfe-commits mailing list