aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/gcov.c')
-rw-r--r--gcc-4.9/gcc/gcov.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/gcov.c b/gcc-4.9/gcc/gcov.c
index 07c2f3706..52016d3b4 100644
--- a/gcc-4.9/gcc/gcov.c
+++ b/gcc-4.9/gcc/gcov.c
@@ -1432,6 +1432,21 @@ read_count_file (function_t *fns)
object_runs += summary.ctrs[GCOV_COUNTER_ARCS].runs;
program_count++;
}
+ else if (tag == GCOV_TAG_BUILD_INFO)
+ {
+ gcov_unsigned_t num_strings;
+ char **build_info_strings = gcov_read_build_info (length,
+ &num_strings);
+ for (unsigned i = 0; i < num_strings; i++)
+ free (build_info_strings[i]);
+ free (build_info_strings);
+ }
+ else if (tag == GCOV_TAG_COMDAT_ZERO_FIXUP)
+ {
+ gcov_unsigned_t num_fn;
+ int *zero_fixup_flags = gcov_read_comdat_zero_fixup (length, &num_fn);
+ free (zero_fixup_flags);
+ }
else if (tag == GCOV_TAG_FUNCTION && !length)
; /* placeholder */
else if (tag == GCOV_TAG_FUNCTION && length == GCOV_TAG_FUNCTION_LENGTH)