]> git.ipfire.org Git - thirdparty/gcc.git/commit
Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
authorNathan Sidwell <nathan@acm.org>
Thu, 7 Aug 2014 18:02:06 +0000 (18:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 7 Aug 2014 18:02:06 +0000 (18:02 +0000)
commit4303c581960b6069e8893d88da5461d9286c37e8
tree96f601ae4d1e3bbc82671ac85806d78d72ba85a0
parent8bd8ef50e46874632c6cbd5f1446f7a6712f979c
Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...

* 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.

From-SVN: r213719
libgcc/ChangeLog
libgcc/Makefile.in
libgcc/libgcov-driver.c
libgcc/libgcov-interface.c
libgcc/libgcov.h