<font><font face="tahoma,sans-serif">Hi;<br></font></font><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 4:06 AM, Nick Lewycky <span dir="ltr"><<a href="mailto:nlewycky@google.com">nlewycky@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>This patch adds the -ftest-coverage flag, and wires it--along with -coverage and -fprofile-arcs--up to llvm's recently added support for emission of gcov data files. Please review!</div>

</blockquote><div><br></div><div>I noticed that clang doesn't honor -fgenerate-profile flag, would it make sense to hook it up to do -fprofile-arcs ? According to gcc, -fprofile-generate enables 3 options;</div><div>
<br>
</div><div> -fprofile-arcs (clang has this already)</div><div><br></div><div> -fprofile-values</div><div><br></div><div>If combined with -fprofile-arcs, it adds code so that some data about values of expressions in the program is gathered.</div>

<div><br></div><div> -fvpt</div><div><br></div><div><div>If combined with -fprofile-arcs, it instructs the compiler to add a code to gather information about values of expressions.</div></div><div><br></div><div><br></div>

<div>I am not sure where does last 2 options map in llvm world.</div><div><br></div><div>Regards,</div><div>ismail</div><div><br></div></div>