diff options
author | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-17 09:59:52 +0000 |
---|---|---|
committer | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-17 09:59:52 +0000 |
commit | e77b8253aa187580c9e185461ed28c207e693126 (patch) | |
tree | e11866266cf98c8e56a5c72d6c5ab06707407dc8 /gcc/input.h | |
parent | 62db153a9b1799e87fcc12393c34a4c9a1fa0ef5 (diff) | |
download | gcc-e77b8253aa187580c9e185461ed28c207e693126.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180085 138bc75d-0d04-0410-961f-82ee72b054a4
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 9fc55f3ac7f..f2f351311fc 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 |