]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gcov-io.h
gcov-io.c (gcov_var): Move from gcov-io.h.
authorRong Xu <xur@google.com>
Wed, 8 Jan 2014 16:37:08 +0000 (16:37 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Wed, 8 Jan 2014 16:37:08 +0000 (16:37 +0000)
commit40d6b7535cdc6b2fbe02ba7dc3335a14bf343ea3
treefffc9c28e27be439d23aa1e73163256e25cf97f7
parentab04b46efc42eda6fe74b5fb4551409d29538777
gcov-io.c (gcov_var): Move from gcov-io.h.

2014-01-08  Rong Xu  <xur@google.com>

* gcc/gcov-io.c (gcov_var): Move from gcov-io.h.
(gcov_position): Ditto.
(gcov_is_error): Ditto.
(gcov_rewrite): Ditto.
* gcc/gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
only part to libgcc/libgcov.h.
* libgcc/libgcov-driver.c: Use libgcov.h.
(buffer_fn_data): Use xmalloc instead of malloc.
(gcov_exit_merge_gcda): Ditto.
* libgcc/libgcov-driver-system.c (allocate_filename_struct): Ditto.
* libgcc/libgcov.h: New common header files for libgcov-*.h.
* libgcc/libgcov-interface.c: Use libgcov.h
* libgcc/libgcov-merge.c: Ditto.
* libgcc/libgcov-profiler.c: Ditto.
* libgcc/Makefile.in: Add dependence to libgcov.h

From-SVN: r206435
gcc/ChangeLog
gcc/gcov-io.c
gcc/gcov-io.h
libgcc/ChangeLog
libgcc/Makefile.in
libgcc/libgcov-driver-system.c
libgcc/libgcov-driver.c
libgcc/libgcov-interface.c
libgcc/libgcov-merge.c
libgcc/libgcov-profiler.c
libgcc/libgcov.h [new file with mode: 0644]