summaryrefslogtreecommitdiff
path: root/gcc/input.h
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-17 09:59:52 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-17 09:59:52 +0000
commite77b8253aa187580c9e185461ed28c207e693126 (patch)
treee11866266cf98c8e56a5c72d6c5ab06707407dc8 /gcc/input.h
parent62db153a9b1799e87fcc12393c34a4c9a1fa0ef5 (diff)
downloadgcc-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.h2
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