Add -fauto-profile option to Clang driver

Diego Novillo dnovillo at google.com
Tue Oct 22 10:38:13 PDT 2013


On Tue, Oct 22, 2013 at 1:26 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Tue, Oct 22, 2013 at 10:23 AM, Diego Novillo <dnovillo at google.com> wrote:
>>
>> On Tue, Oct 22, 2013 at 1:18 PM, Chandler Carruth <chandlerc at google.com>
>> wrote:
>>
>> > I wonder if the better way to go is to start with a very narrow flag
>> > name,
>> > and generalize it when the infrastructure for more generalized profile
>> > reading arrives? Supporting a highly specific flag for a long time
>> > doesn't
>> > seem like a high cost.
>>
>> You mean add -f<blah>-profile as we add more capabilities and make
>> this one be -fsample-profile?
>
>
> And, if we end up with a single common profile format at some point, we can
> merge. But let's see what others think as well.

Sure.  Bob, have you any thoughts on this?  ISTR you were also
wondering what to name the profiling flags you are working on.


Diego.



More information about the cfe-commits mailing list