Skip to content

Commit 76ed4b1

Browse files
authored
[TableGen] Add StringInit pools to RecordKeeperImpl::dumpAllocationStats. (#124164)
Remove duplicate print of TheBitsInitPool. I don't know who or what uses this information. I happened to notice TheBitsInitPool was printed twice which lead to auditing the whole list.
1 parent e30a4fc commit 76ed4b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/TableGen/Record.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ void detail::RecordKeeperImpl::dumpAllocationStats(raw_ostream &OS) const {
106106
OS << "TheArgumentInitPool size = " << TheArgumentInitPool.size() << '\n';
107107
OS << "TheBitsInitPool size = " << TheBitsInitPool.size() << '\n';
108108
OS << "TheIntInitPool size = " << TheIntInitPool.size() << '\n';
109-
OS << "TheBitsInitPool size = " << TheBitsInitPool.size() << '\n';
109+
OS << "StringInitStringPool size = " << StringInitStringPool.size() << '\n';
110+
OS << "StringInitCodePool size = " << StringInitCodePool.size() << '\n';
110111
OS << "TheListInitPool size = " << TheListInitPool.size() << '\n';
111112
OS << "TheUnOpInitPool size = " << TheUnOpInitPool.size() << '\n';
112113
OS << "TheBinOpInitPool size = " << TheBinOpInitPool.size() << '\n';

0 commit comments

Comments
 (0)