aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-05 00:48:49 +0000
committerIan Lance Taylor <iant@google.com>2007-12-05 00:48:49 +0000
commitad8f37d1ba63a4d799f35e2244b2facb0fedf59b (patch)
tree482c8bc7b18aa41c439f40f4d1dbe42a9229442b /gold/stringpool.h
parent*** empty log message *** (diff)
downloadbinutils-gdb-ad8f37d1ba63a4d799f35e2244b2facb0fedf59b.tar.gz
binutils-gdb-ad8f37d1ba63a4d799f35e2244b2facb0fedf59b.tar.bz2
binutils-gdb-ad8f37d1ba63a4d799f35e2244b2facb0fedf59b.zip
Stringpool stats. Also make Symbol_table support functions inline.
Diffstat (limited to 'gold/stringpool.h')
-rw-r--r--gold/stringpool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/stringpool.h b/gold/stringpool.h
index e902b8e4aae..c5a3baf884b 100644
--- a/gold/stringpool.h
+++ b/gold/stringpool.h
@@ -149,6 +149,10 @@ class Stringpool_template
void
write_to_buffer(unsigned char* buffer, size_t buffer_size);
+ // Dump statistical information to stderr.
+ void
+ print_stats(const char*) const;
+
private:
Stringpool_template(const Stringpool_template&);
Stringpool_template& operator=(const Stringpool_template&);