aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
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/symtab.h
parentfd4980a3b8749aa27c12b4eacaa7f654d24c1957 (diff)
downloadgdb-abaa399568d8dea6b959350e387968eb746115c9.zip
gdb-abaa399568d8dea6b959350e387968eb746115c9.tar.gz
gdb-abaa399568d8dea6b959350e387968eb746115c9.tar.bz2
Print symbol table statistics with --stats.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index 9c7fb09..6d2577b 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -1127,6 +1127,10 @@ class Symbol_table
void
write_section_symbol(const Output_section*, Output_file*, off_t) const;
+ // Dump statistical information to stderr.
+ void
+ print_stats() const;
+
private:
Symbol_table(const Symbol_table&);
Symbol_table& operator=(const Symbol_table&);