This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/gcc ChangeLog Makefile.in gcov-io.h profil ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan at gcc dot gnu dot org	2003-04-21 19:48:11

Modified files:
	gcc            : ChangeLog Makefile.in gcov-io.h profile.c 
	                 gcov-dump.c libgcov.c loop-init.c tracer.c 
	                 rtl.h toplev.c 
Added files:
	gcc            : coverage.h gcov-io.c coverage.c 
Removed files:
	gcc            : profile.h 

Log message:
	Break out coverage routines to new file.
	* Makefile.in (COVERAGE_H): New variable
	(C_OBJS): Add coverage.o
	(coverage.o): New target.
	(profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust
	dependencies.
	(GTFILES): Adjust.
	(gt-coverage.h): New target.
	(gt-profile.h): Remove.
	* profile.h: Remove. Move to ...
	* coverage.h: ... here. New. #include gcov-io.h.
	* gcov-io.h: Move function definitions to ...
	* gcov-io.c: ... here. New.
	* profile.c: Move coverage routines to coverage.c.
	(instrument_edges, get_exec_counts, branch_prob, init_branch_prob,
	end_branch_prob): Adjust.
	* coverage.c: New. Coverage routines from profile.c
	(coverage_counter_ref, coverage_init, coverage_finish,
	coverage_end_function, coverage_begin_output,
	coverage_counter_ref, get_coverage_counts): Define.
	* gcov-dump.c, gcov.c: #include gcov-io.c.
	* libgcov.c: Likewise. Adjust.
	* loop-init.c: Don't #include profile.h
	* tracer.c, predict.c, sched-ebb.c: Adjust #includes.
	* rtl.h: Add coverage prototypes.
	* toplev.c (compile_file): Init coverage, not branch_prob.
	Always call coverage_finish.
	(rest_of_compilation): Call coverage_end_function.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/coverage.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcov-io.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/coverage.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.17548&r2=1.17549
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&r1=1.1037&r2=1.1038
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcov-io.h.diff?cvsroot=gcc&r1=1.26&r2=1.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/profile.c.diff?cvsroot=gcc&r1=1.116&r2=1.117
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcov-dump.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/libgcov.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-init.c.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tracer.c.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcc&r1=1.398&r2=1.399
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&r1=1.742&r2=1.743
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/profile.h.diff?cvsroot=gcc&r1=1.5&r2=NONE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]