]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/line-map.c
Add line map statistics to -fmem-report output
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2011 09:59:52 +0000 (09:59 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2011 09:59:52 +0000 (09:59 +0000)
commite77b8253aa187580c9e185461ed28c207e693126
treee11866266cf98c8e56a5c72d6c5ab06707407dc8
parent62db153a9b1799e87fcc12393c34a4c9a1fa0ef5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180085 138bc75d-0d04-0410-961f-82ee72b054a4
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