aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-04 23:11:35 +0000
committerIan Lance Taylor <iant@google.com>2007-12-04 23:11:35 +0000
commitabaa399568d8dea6b959350e387968eb746115c9 (patch)
tree23c1bb93b71b6c732cc908b6b470a481232f82e0 /gold/main.cc
parentfd4980a3b8749aa27c12b4eacaa7f654d24c1957 (diff)
downloadgdb-abaa399568d8dea6b959350e387968eb746115c9.zip
gdb-abaa399568d8dea6b959350e387968eb746115c9.tar.gz
gdb-abaa399568d8dea6b959350e387968eb746115c9.tar.bz2
Print symbol table statistics with --stats.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/main.cc b/gold/main.cc
index a4dcc5a..fe56aad 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -106,6 +106,7 @@ main(int argc, char** argv)
File_read::print_stats();
fprintf(stderr, _("%s: output file size: %lld bytes\n"),
program_name, static_cast<long long>(layout.output_file_size()));
+ symtab.print_stats();
}
gold_exit(errors.error_count() == 0);