diff options
author | Tom Tromey <tromey@redhat.com> | 2011-10-17 09:59:52 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2011-10-17 11:59:52 +0200 |
commit | 64a1a422dba4b0c09ad38310e32a223f2e16ed9d (patch) | |
tree | e11866266cf98c8e56a5c72d6c5ab06707407dc8 /gcc/input.h | |
parent | 847e697a240e6d30335335c62084743978fa2084 (diff) | |
download | gcc-64a1a422dba4b0c09ad38310e32a223f2e16ed9d.zip gcc-64a1a422dba4b0c09ad38310e32a223f2e16ed9d.tar.gz gcc-64a1a422dba4b0c09ad38310e32a223f2e16ed9d.tar.bz2 |
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/input.h')
-rw-r--r-- | gcc/input.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/input.h b/gcc/input.h index 9fc55f3..f2f3513 100644 --- a/gcc/input.h +++ b/gcc/input.h @@ -55,4 +55,6 @@ extern location_t input_location; ((linemap_location_in_system_header_p (line_table, LOC))) #define in_system_header (in_system_header_at (input_location)) +void dump_line_table_statistics (void); + #endif |