GCOV: add -j argument (human readable format).
commiteb356edc35c64bd254c91d7772f7daee7ae26cb0
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2017 15:31:25 +0000 (31 15:31 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2017 15:31:25 +0000 (31 15:31 +0000)
tree71b33bb93ae5a9f64c217d8e5eea0a24f2ea6b54
parent830841329be57ba0c328b980d645eae5831c41c9
GCOV: add -j argument (human readable format).

2017-10-31  Martin Liska  <mliska@suse.cz>

* doc/gcov.texi: Document new option.
* gcov.c (print_usage): Likewise print it.
(process_args): Support the argument.
(format_count): New function.
(format_gcov): Use the function.
2017-10-31  Martin Liska  <mliska@suse.cz>

* g++.dg/gcov/loop.C: New test.
* lib/gcov.exp: Support human readable format for counts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254269 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/gcov.texi
gcc/gcov.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gcov/loop.C [new file with mode: 0644]
gcc/testsuite/lib/gcov.exp