Add stats on adhoc table to dump_line_table_statistics
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 6 Nov 2015 18:40:56 +0000 (18:40 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 6 Nov 2015 18:40:56 +0000 (18:40 +0000)
commitee015909ee4656557a0fad1795dfd1bd2391735d
tree35d3167f828cdec190d251bc1b3ee85fef95dfbf
parent2a8e33581b09efb6f9e9897b82133e510062fe91
Add stats on adhoc table to dump_line_table_statistics

gcc/ChangeLog:
* input.c (dump_line_table_statistics): Dump stats on adhoc table.

libcpp/ChangeLog:
* include/line-map.h (struct linemap_stats): Add fields
"adhoc_table_size" and "adhoc_table_entries_used".
* line-map.c (linemap_get_statistics): Populate above fields.

From-SVN: r229873
gcc/ChangeLog
gcc/input.c
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c