<div dir="ltr">LGTM (with a comment in phab for you).<div><br></div><div>One note I forgot to mention there: can you put the input file (foo.prof or whatever) in the Inputs subdirectory of test/Driver?</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 11:09 AM, Diego Novillo <span dir="ltr"><<a href="mailto:dnovillo@google.com" target="_blank">dnovillo@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Oct 28, 2013 at 2:13 PM, Justin Bogner <<a href="mailto:mail@justinbogner.com">mail@justinbogner.com</a>> wrote:<br>
> Bob Wilson <<a href="mailto:bob.wilson@apple.com">bob.wilson@apple.com</a>> writes:<br>
>> On Oct 28, 2013, at 7:23 AM, Diego Novillo <<a href="mailto:dnovillo@google.com">dnovillo@google.com</a>> wrote:<br>
>>> Ping?  Bob, Chandler, does this sound reasonable to you?  I'm thinking<br>
>>> of changing the current patch to use -fprofile-sample-use=...<br>
>>><br>
>>> This partially keeps the symmetry with -fprofile-generate /<br>
>>> -fprofile-use and avoids the autodetection logic that Chandler<br>
>>> dislikes.<br>
>><br>
>> I don't have a strong opinion on this.  Justin, how does this line up<br>
>> with what you were considering for our profiling options?<br>
><br>
> Using -fprofile-sample-use= seems simplest for now. We'll probably need<br>
> to figure out exactly what to do with -fprofile-use= and<br>
> -fprofile-generate= in the near future, as the current state is actually<br>
> fairly strange:<br>
><br>
> - profile-use and profile-use= are ignored<br>
> - profile-generate= isn't accepted<br>
> - profile-generate causes libprofile_rt to be linked in, but does<br>
>   nothing else<br>
><br>
> In GCC, -fprofile-generate implies -fprofile-arcs, which we currently<br>
> use to turn on the GCOVProfilerPass, and the =path versions of these<br>
> options take a directory, whereas both Diego's and Bob's profiling<br>
> approaches deal with a file.<br>
<br>
</div>Thanks.<br>
<br>
I've renamed the flag and moved the patch over to phabricator:<br>
<a href="http://llvm-reviews.chandlerc.com/D2066" target="_blank">http://llvm-reviews.chandlerc.com/D2066</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Diego.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>