Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 17:31:23 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org>, Benno Rice <benno@freebsd.org>, NGie Cooper <yaneurabeya@gmail.com>
Subject:   Re: profile_rt from llvm folks?
Message-ID:  <CAPyFy2B%2BsB7ZD4f_h8C1ypRtA1%2B51mapAoj-J30d_4Jt-kXHqw@mail.gmail.com>
In-Reply-To: <9C59EF67-014F-4EA1-B4F5-8E69A5C3E0FD@FreeBSD.org>
References:  <CAGHfRMDVhFScLKF9HOHivJVxZ-HysxQqsHjYg5gpwFKotXViAw@mail.gmail.com> <9C59EF67-014F-4EA1-B4F5-8E69A5C3E0FD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 April 2015 at 16:35, Dimitry Andric <dim@freebsd.org> wrote:
> On 01 Apr 2015, at 02:03, NGie Cooper <yaneurabeya@gmail.com> wrote:
>>
>> Hi all,
>>    We've recently integrated a version of profile_rt from the llvm
>> folks internally to replace gcov for code coverage. I was wondering if
>> there was a plan to replace the copy of gcov in FreeBSD with the same
>> (either in the base system, ports, or both).
>
> I personally have no plans to do so, but the build of libprofile_rt.a
> was added in r276857, at least.

Yes, as of that change one can compile with --coverage, and .gcda and
.gcno files will be produced via the functionality in libprofile_rt.a.

gcov(1) is able to use them, but when I tried llvm-cov it didn't work
correctly; in any case, llvm-cov is now on the roadmap for our
toolchain.

-Ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2B%2BsB7ZD4f_h8C1ypRtA1%2B51mapAoj-J30d_4Jt-kXHqw>