aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.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/layout.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/layout.h')
-rw-r--r--gold/layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h
index d909ace..a790892 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -226,6 +226,10 @@ class Layout
find_output_segment(elfcpp::PT type, elfcpp::Elf_Word set,
elfcpp::Elf_Word clear) const;
+ // Dump statistical information to stderr.
+ void
+ print_stats() const;
+
// The list of segments.
typedef std::vector<Output_segment*> Segment_list;