[Bug gcov-profile/83877] Make gcov accept a path to the gcda and a path to the gcno file

2018-08-30 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83877 --- Comment #3 from Marco Castelluccio --- The problem we have is that there's a directory containing gcno files and multiple directories containing gcda files (one for each test suite execution). gcov expects the gcda and gcno files to be in

[Bug gcov-profile/86536] Function "returned NAN %" for a simple program which forks

2018-08-30 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86536 --- Comment #4 from Marco Castelluccio --- Sorry for the delay, it sounds fine to me, I can't think of anything better than that!

[Bug gcov-profile/86536] New: Function "returned NAN %" for a simple program which forks

2018-07-16 Thread mcastelluccio at mozilla dot com
ty: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- -:0:Source:main.c -:0:Graph:main.gcno

[Bug gcov-profile/86411] Some lines are considered as uncoverable when using __gcov_flush

2018-07-05 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86411 Marco Castelluccio changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug gcov-profile/86411] Some lines are considered as uncoverable when using __gcov_flush

2018-07-05 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86411 --- Comment #2 from Marco Castelluccio --- Line 14 and line 16 should be "#" (not covered), instead they are "-" (not coverable, a line not containing any code).

[Bug gcov-profile/86411] New: Some lines are considered as uncoverable when using __gcov_flush

2018-07-05 Thread mcastelluccio at mozilla dot com
Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- -:0:Source:main.c -:0:Graph:main.gcno -:0

[Bug gcov-profile/83878] Line hit counts are sometimes wrong

2018-07-04 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83878 Marco Castelluccio changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #4 from Marco

[Bug gcov-profile/83878] Line hit counts are sometimes wrong

2018-06-12 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83878 --- Comment #2 from Marco Castelluccio --- Created attachment 44267 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44267=edit Archive with GCNO, GCDA, source file and GCOV output Sorry for replying late, but I just managed to find a

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-01-22 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #4 from Marco Castelluccio --- Would it be feasible to force exporting "__gcov_master" to the dynamic symbol table when coverage instrumentation is enabled?

[Bug gcov-profile/83879] New: __gcov_dump doesn't work with dlopen-ed libraries

2018-01-15 Thread mcastelluccio at mozilla dot com
Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 43144 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43144=edit Archive contain

[Bug gcov-profile/83878] New: Line hit counts are sometimes wrong

2018-01-15 Thread mcastelluccio at mozilla dot com
-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 43143 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43143=edit Archive with GCNO, GCDA, sou

[Bug gcov-profile/83877] New: Make gcov accept a path to the gcda and a path to the gcno file

2018-01-15 Thread mcastelluccio at mozilla dot com
Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Sometimes they are not close to each other (e.g. if you build on one

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-11-07 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #10 from Marco Castelluccio --- (In reply to Martin Liška from comment #9) > (In reply to Marco Castelluccio from comment #8) > > Created attachment 42462 [details] > > Archive with GCNO and GCDA file generated with GCC 6 > > > >

[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6

2017-10-30 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702 --- Comment #7 from Marco Castelluccio --- (In reply to Martin Liška from comment #6) > Marco is right that it started with the mentioned revision. But let me start > in more general context: > > Consider virtual.cpp file that includes some

[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6

2017-10-25 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702 --- Comment #4 from Marco Castelluccio --- I suppose this is a regression caused by https://github.com/gcc-mirror/gcc/commit/41da7513d5aaaff3a5651b40edeccc1e32ea785a. Is it intentional? Note that generating multiple files makes parsing slower,

[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6

2017-10-25 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702 --- Comment #3 from Marco Castelluccio --- See also this comment: https://github.com/gcc-mirror/gcc/blob/3c311329bd71ab4589fced78baf30187e50b6d3f/gcc/gcov.c#L865. This used to be true, but it's not anymore.

[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6

2017-10-25 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702 --- Comment #2 from Marco Castelluccio --- (In reply to Andrew Pinski from comment #1) > https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html#Invoking-Gcov > > The output is a single .gcov file per .gcda file. > > The same documentation was

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-10-24 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #8 from Marco Castelluccio --- Created attachment 42462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42462=edit Archive with GCNO and GCDA file generated with GCC 6 This is an archive containing the GCNO and GCDA files

[Bug gcov-profile/82702] New: gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6

2017-10-24 Thread mcastelluccio at mozilla dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Running "gcov -i file

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-10-20 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #7 from Marco Castelluccio --- (In reply to Martin Liška from comment #6) > (In reply to Marco Castelluccio from comment #5) > > (In reply to Martin Liška from comment #4) > > > (In reply to Marco Castelluccio from comment #3) > > >

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-10-19 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #5 from Marco Castelluccio --- (In reply to Martin Liška from comment #4) > (In reply to Marco Castelluccio from comment #3) > > > Thanks for the report Marco. Looks it comes from Firefox, am I right? > > > > Yes, that's correct.

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-10-19 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #3 from Marco Castelluccio --- > Thanks for the report Marco. Looks it comes from Firefox, am I right? Yes, that's correct. Actually, from a build of the JS shell. > Which version of GCC have you been using? The build was done

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-10-19 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #1 from Marco Castelluccio --- Created attachment 42399 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42399=edit GCNO file

[Bug gcov-profile/82614] New: GCOV crashes while parsing gcda file

2017-10-19 Thread mcastelluccio at mozilla dot com
-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 42398 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42398=edit GCDA file This f