Add -fauto-profile option to Clang driver

Diego Novillo dnovillo at google.com
Tue Oct 22 10:17:19 PDT 2013


On Tue, Oct 22, 2013 at 1:13 PM, Chandler Carruth <chandlerc at google.com> wrote:

> I'm surprised -- I expected this to essentially only be used with
> sample-based profiles? Bob seemed to have a different architecture in mind
> for other profile sources?

For now, sure.  But there are other profile sources that are not based
on sampling.  Instrumentation being one. Value tracking, being
another. AFAIR, Bob is looking at instrumentation-based approaches.

> If this is going to be something generic, we should have some input from Bob
> as well at least. And then the flag name it seems should be "-fprofile" or
> "-fprofile-file" or "-fprofile-input"....

Sure. No qualification seems the best option here.


Diego.



More information about the cfe-commits mailing list