[PATCH] gcov: add new option -t that prints output to stdout (PR gcov-profile/84846).

Martin Liška mliska@suse.cz
Fri May 18 12:29:00 GMT 2018


Hi.

It's requested by LCOV folks, they want to be able to print to stdout
instead of into a file.

Survives make check -k -j10 RUNTESTFLAGS="gcov.exp"

Ready for trunk?
Thanks,
Martin

gcc/ChangeLog:

2018-05-18  Martin Liska  <mliska@suse.cz>

	PR gcov-profile/84846
	* gcov.c (print_usage): Add new -t option.
	(process_args): Handle the option.
	(generate_results): Use stdout as output when requested by
	the option.
---
 gcc/gcov.c | 36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gcov-add-new-option-t-that-prints-output-to-stdout-P.patch
Type: text/x-patch
Size: 3702 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180518/373a76da/attachment.bin>


More information about the Gcc-patches mailing list