This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How gcov handles untested files, prior and after GCC 3.4


Nathan, if done properly do you think a patch (that again makes it
possible to extract the number of source lines in a untested lines)
would be accepted? And which way would be the most sutable: to make it
the standard behaviour to assume zero counts if no .gcda file are
found or to enable that feature via a flag?

Regards,
Fredrik

On 8/4/06, Nathan Sidwell <nathan@codesourcery.com> wrote:
Fredrik Johansson wrote:

> Why I ask is because I need to extract the number of lines even in
> untested files, and I need it to work both on 3.3.6 and on various
> 3.4.x versions.

This use case had not occurred to me.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]