[cfe-commits] patch: add gcov-compatible coverage support to clang

İsmail Dönmez ismail at namtrac.org
Sat Dec 31 05:42:59 PST 2011


On Sat, Dec 31, 2011 at 2:42 PM, İsmail Dönmez <ismail at namtrac.org> wrote:

> Hi;
>
> On Thu, Apr 21, 2011 at 4:06 AM, Nick Lewycky <nlewycky at google.com> wrote:
>
>> 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!
>>
>
> 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;
>

Of course the right option is -fprofile-generate.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111231/7bef9c7f/attachment.html>


More information about the cfe-commits mailing list