This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: coverage information for assembler files
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Sebastien Decugis <sebastien dot decugis at ext dot bull dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 27 Jul 2004 09:45:27 -0700
- Subject: Re: coverage information for assembler files
- References: <1090939137.2525.146.camel@decugiss.frec.bull.fr>
On Tue, Jul 27, 2004 at 04:38:58PM +0200, Sebastien Decugis wrote:
> The question is: is there a way to get the coverage information for
> assembler files? I tried the following:
> $ gcc -c foo.S -o foo.o -g -fprofile-arcs -ftest-coverage
>
> but this does not seem to work.
This will not work. The -f flags you supply do not affect the processing
of assembly language code.