summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-10-17 09:59:52 +0000
committerDodji Seketeli <dodji@gcc.gnu.org>2011-10-17 11:59:52 +0200
commit64a1a422dba4b0c09ad38310e32a223f2e16ed9d (patch)
treee11866266cf98c8e56a5c72d6c5ab06707407dc8 /gcc/toplev.c
parent847e697a240e6d30335335c62084743978fa2084 (diff)
downloadgcc-64a1a422dba4b0c09ad38310e32a223f2e16ed9d.tar.gz
Add line map statistics to -fmem-report output
This patch adds statistics about line maps' memory consumption and macro expansion to the output of -fmem-report. It has been useful in trying to reduce the memory consumption of the macro maps support. Co-Authored-By: Dodji Seketeli <dodji@redhat.com> From-SVN: r180085
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index c43869c3b31..f508196b3eb 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1827,6 +1827,7 @@ target_reinit (void)
void
dump_memory_report (bool final)
{
+ dump_line_table_statistics ();
ggc_print_statistics ();
stringpool_statistics ();
dump_tree_statistics ();