diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-11-06 18:40:56 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-11-06 18:40:56 +0000 |
commit | ee015909ee4656557a0fad1795dfd1bd2391735d (patch) | |
tree | 35d3167f828cdec190d251bc1b3ee85fef95dfbf /libcpp/include | |
parent | 2a8e33581b09efb6f9e9897b82133e510062fe91 (diff) | |
download | gcc-ee015909ee4656557a0fad1795dfd1bd2391735d.zip gcc-ee015909ee4656557a0fad1795dfd1bd2391735d.tar.gz gcc-ee015909ee4656557a0fad1795dfd1bd2391735d.tar.bz2 |
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
Diffstat (limited to 'libcpp/include')
-rw-r--r-- | libcpp/include/line-map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h index e5867ed..c8618a9 100644 --- a/libcpp/include/line-map.h +++ b/libcpp/include/line-map.h @@ -1143,6 +1143,8 @@ struct linemap_stats long macro_maps_used_size; long macro_maps_locations_size; long duplicated_macro_maps_locations_size; + long adhoc_table_size; + long adhoc_table_entries_used; }; /* Return the highest location emitted for a given file for which |