Add line map statistics to -fmem-report output
authorTom Tromey <tromey@redhat.com>
Mon, 17 Oct 2011 09:59:52 +0000 (09:59 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Mon, 17 Oct 2011 09:59:52 +0000 (11:59 +0200)
commit64a1a422dba4b0c09ad38310e32a223f2e16ed9d
treee11866266cf98c8e56a5c72d6c5ab06707407dc8
parent847e697a240e6d30335335c62084743978fa2084
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
gcc/ChangeLog
gcc/input.c
gcc/input.h
gcc/toplev.c
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c
libcpp/macro.c