aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/input.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 64388a4..77bc739 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-06 David Malcolm <dmalcolm@redhat.com>
+
+ * input.c (dump_line_table_statistics): Dump stats on adhoc table.
+
2015-11-07 Jan Hubicka <hubicka@ucw.cz>
* tree-core.h (size_type_kind): Remove OEP_CONSTANT_ADDRESS_OF and
diff --git a/gcc/input.c b/gcc/input.c
index e7302a4..ff80dd9 100644
--- a/gcc/input.c
+++ b/gcc/input.c
@@ -866,6 +866,12 @@ dump_line_table_statistics (void)
fprintf (stderr, "Total used maps size: %5ld%c\n",
SCALE (total_used_map_size),
STAT_LABEL (total_used_map_size));
+ fprintf (stderr, "Ad-hoc table size: %5ld%c\n",
+ SCALE (s.adhoc_table_size),
+ STAT_LABEL (s.adhoc_table_size));
+ fprintf (stderr, "Ad-hoc table entries used: %5ld\n",
+ s.adhoc_table_entries_used);
+
fprintf (stderr, "\n");
}