gcov.c: Tidy.
* gcov.c: Tidy. (struct line_info, struct coverage): New structures. (gcov_file_name, gcov_file): Remove globals. (output_data): Take source file parameter. Fix memory leak. Break up into ... (init_line_info, output_line_info, make_gcov_file_name, accumulate_branch_counts): ... here. (calculate_branch_probs, function_summary): Adjust. (main): Adjust. (function_*): Remove global variables. From-SVN: r56080
This commit is contained in:
parent
317e98c037
commit
8b219a762a
|
@ -1,3 +1,16 @@
|
|||
2002-08-06 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* gcov.c: Tidy.
|
||||
(struct line_info, struct coverage): New structures.
|
||||
(gcov_file_name, gcov_file): Remove globals.
|
||||
(output_data): Take source file parameter. Fix memory leak. Break
|
||||
up into ...
|
||||
(init_line_info, output_line_info, make_gcov_file_name,
|
||||
accumulate_branch_counts): ... here.
|
||||
(calculate_branch_probs, function_summary): Adjust.
|
||||
(main): Adjust.
|
||||
(function_*): Remove global variables.
|
||||
|
||||
2002-08-06 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
* dwarf2out.c: Remove unused macros.
|
||||
|
|
993
gcc/gcov.c
993
gcc/gcov.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue