From 64a1a422dba4b0c09ad38310e32a223f2e16ed9d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 17 Oct 2011 09:59:52 +0000 Subject: 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 From-SVN: r180085 --- gcc/input.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/input.h') 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 -- cgit v1.1