]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/libgcov.h
* Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2014 18:02:06 +0000 (18:02 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2014 18:02:06 +0000 (18:02 +0000)
commit859fa1a929899e98127696afc9895fe33f2123e1
tree96f601ae4d1e3bbc82671ac85806d78d72ba85a0
parentf59ea09778e927f6c947ee7347f97aa21ada6f38
* Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
(LIBGCOV_DRIVER): ... to here.
* libgcov.h (gcov_do_dump): New #define.
(struct gcov_root): New.
(__gcov_root): New declaration.
(__gcov_dump_one): Declare.
* libgcov-driver.c (gcov_list, gcov_dump_complete,
run_accounted): Delete.
(gcov_compute_histogram): Add LIST argument, adjust.
(compute_summary): Adjust gcov_compute_histogram call.
(gcov_do_dump): Not hidden, static in libgcov.
(gcov_clear): Move  to interface.c.
(__gcov_dump_one): New, broken out of ...
(gcov_exit): ... here.  Make static.
(__gcov_root): New.
(__gcov_init): Adjust.
* libgcov-interface.c (gcov_clear, gcov_exit): Remove
declarations.
(__gcov_flush): Use __gcov_dump_one and __gcov_reset.
(gcov_clear): Moved from driver.c.   Add LIST argument.
(__gcov_reset): Adjust for changed interfaces.
(__gcov_fork): Remove local declaration of __gcov_flush_mx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213719 138bc75d-0d04-0410-961f-82ee72b054a4
libgcc/ChangeLog
libgcc/Makefile.in
libgcc/libgcov-driver.c
libgcc/libgcov-interface.c
libgcc/libgcov.h