Re: [PATCH 1/2] gcov: branch, conds, calls in function summaries

2025-03-26 Thread Jan Hubicka
> The gcov function summaries only output the covered lines, not the > branches and calls. Since the function summaries is an opt-in it > probably makes sense to also include branch coverage, calls, and > condition coverage. > > $ gcc --coverage -fpath-coverage hello.c -o hello > $ ./hello > > Be

[PATCH 1/2] gcov: branch, conds, calls in function summaries

2025-02-12 Thread Jørgen Kvalsvik
The gcov function summaries only output the covered lines, not the branches and calls. Since the function summaries is an opt-in it probably makes sense to also include branch coverage, calls, and condition coverage. $ gcc --coverage -fpath-coverage hello.c -o hello $ ./hello Before: $ gcov -

Re: [PATCH 1/2] gcov: branch, conds, calls in function summaries

2025-01-05 Thread Jørgen Kvalsvik
On 1/5/25 18:23, Jan Hubicka wrote: The gcov function summaries only output the covered lines, not the branches and calls. Since the function summaries is an opt-in it probably makes sense to also include branch coverage, calls, and condition coverage. $ gcc --coverage -fpath-coverage hello.c -o

Re: [PATCH 1/2] gcov: branch, conds, calls in function summaries

2025-01-05 Thread Jan Hubicka
> The gcov function summaries only output the covered lines, not the > branches and calls. Since the function summaries is an opt-in it > probably makes sense to also include branch coverage, calls, and > condition coverage. > > $ gcc --coverage -fpath-coverage hello.c -o hello > $ ./hello > > Be

[PATCH 1/2] gcov: branch, conds, calls in function summaries

2024-10-03 Thread Jørgen Kvalsvik
The gcov function summaries only output the covered lines, not the branches and calls. Since the function summaries is an opt-in it probably makes sense to also include branch coverage, calls, and condition coverage. $ gcc --coverage -fpath-coverage hello.c -o hello $ ./hello Before: $ gcov -