LTO balanced map: add stats about insns and symbols.
commite5b238bf3c3fe1794390f3b4afb74e716960749b
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2015 13:17:13 +0000 (27 13:17 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2015 13:17:13 +0000 (27 13:17 +0000)
tree5df24c84558041a7e8f12ac911f7becfb5c8ddfa
parentde799bd087ab9a179768fea75bd195a31d3432a4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223750 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto/ChangeLog
gcc/lto/lto-partition.c
gcc/lto/lto-partition.h