aboutsummaryrefslogtreecommitdiff
path: root/gold/stringpool.h
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
parent055f1d8ffcf99cdc50eb47e5cbfae62635b5c041 (diff)
downloadgdb-ad8f37d1ba63a4d799f35e2244b2facb0fedf59b.zip
gdb-ad8f37d1ba63a4d799f35e2244b2facb0fedf59b.tar.gz
gdb-ad8f37d1ba63a4d799f35e2244b2facb0fedf59b.tar.bz2
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 e902b8e..c5a3baf 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&);