* merge.cc (Output_merge_string::do_add_input_section): Count strings
authorCary Coutant <ccoutant@google.com>
Tue, 3 Aug 2010 20:38:09 +0000 (20:38 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 3 Aug 2010 20:38:09 +0000 (20:38 +0000)
commitfef830db38dc7b443745fca928d5f05c1f867737
tree8e65b43e56f3b3be5b611f436ca821f71773ceab
parentbfea910e97b4375e2027c52936c79cde94221796
* merge.cc (Output_merge_string::do_add_input_section): Count strings
to reserve space in merged_strings vector. Keep total input size
for stats.
(Output_merge_string::do_print_merge_stats): Print total input size.
* merge.h (Output_merge_string): Add input_size_ field.
* stringpool.cc (Stringpool_template::string_length): Move
implementations out of Stringpool_template class and place in
stringpool.h.
* stringpool.h (string_length): Move out of Stringpool_template.
gold/ChangeLog
gold/merge.cc
gold/merge.h
gold/stringpool.cc
gold/stringpool.h
This page took 0.025551 seconds and 4 git commands to generate.