Re: [PATCH 3/7] GCOV: add support for lines with an unexecuted lines.

2017-11-02 Thread Eric Botcazou
> It's possible to have a line of code that has a non-zero coverage. > However, it can contain unexecuted blocks and I hope adding a > notification can be usefull. LLVM also does that: > > -:0:Source:ternary.c > -:0:Graph:ternary.gcno > -:0:Data:ternary.gcda >

Re: [PATCH 3/7] GCOV: add support for lines with an unexecuted lines.

2017-10-31 Thread Martin Liška
On 10/30/2017 01:21 PM, Nathan Sidwell wrote: Looks good otherwise, WDYT? Hi. Works for me, it's more precise! Thanks, Martin nathan

Re: [PATCH 3/7] GCOV: add support for lines with an unexecuted lines.

2017-10-30 Thread Nathan Sidwell
On 10/26/2017 04:11 AM, marxin wrote: It's possible to have a line of code that has a non-zero coverage. However, it can contain unexecuted blocks and I hope adding a notification can be usefull. LLVM also does that: 1*:5: int a = b < 1 ? (c < 3 ? d : c) : e; A useful enhan

[PATCH 3/7] GCOV: add support for lines with an unexecuted lines.

2017-10-26 Thread marxin
It's possible to have a line of code that has a non-zero coverage. However, it can contain unexecuted blocks and I hope adding a notification can be usefull. LLVM also does that: -:0:Source:ternary.c -:0:Graph:ternary.gcno -:0:Data:ternary.gcda -:0:R