LTO balanced map: add stats about insns and symbols.
authorMartin Liska <mliska@suse.cz>
Wed, 27 May 2015 13:17:13 +0000 (15:17 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 27 May 2015 13:17:13 +0000 (13:17 +0000)
commitfaae53f8ca3766da999534c342e00e5eeadd9f9d
tree5df24c84558041a7e8f12ac911f7becfb5c8ddfa
parent4d45be537bef92d4222e89c958b26983d4009d2e
LTO balanced map: add stats about insns and symbols.

* lto-partition.c (new_partition): Reset number of symbols.
(add_symbol_to_partition_1): Increment number of symbols.
(undo_partition): Decrement number of symbols.
(lto_balanced_map): Dump number of symbols and insns that
belong to a partition.
* lto-partition.h (struct ltrans_partition_def): Add symbol counter.

From-SVN: r223750
gcc/lto/ChangeLog
gcc/lto/lto-partition.c
gcc/lto/lto-partition.h