This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Generate coverage informations in different sections.
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Frediano Ziglio <frediano dot ziglio at citrix dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 17 Jun 2013 17:32:27 +0200
- Subject: Re: Generate coverage informations in different sections.
- References: <4BE945389935F64490EB1C02F3502F630253D7 at LONPEX01CL01 dot citrite dot net>
> Hi,
> I'm a Xen developer. We have coverage support (lcov replacement) in
> order to extract coverage information. However would be very helpful to
> have a way to put counters, structures and strings (file names) related
> to coverage in different section. Actually there are no such options (it
> would be better for us to separate counters and structures/strings).
You mean to have something like .text.gcov/.data.gcov etc to place the counters?
I suppose it is not that hard to implement, but I wonder how it is going to help
you?
Honza
>
> I tried to change generated .s files in order to separate these
> informations but without success (I'm not so expert with gas, last gcc
> require common section).
>
> Is it difficult to implement such a feature in next gcc?
>
> Do somebody have a better idea?
>
> Frediano
>