forked from OSchip/llvm-project
When printing statistics for the ASTContext, also print them for its BumpPtrAllocator
llvm-svn: 107790
This commit is contained in:
parent
87fb4e8fcd
commit
2530efd3cf
|
@ -275,6 +275,9 @@ void ASTContext::PrintStats() const {
|
|||
fprintf(stderr, " %u/%u implicit destructors created\n",
|
||||
NumImplicitDestructorsDeclared, NumImplicitDestructors);
|
||||
|
||||
if (!FreeMemory)
|
||||
BumpAlloc.PrintStats();
|
||||
|
||||
if (ExternalSource.get()) {
|
||||
fprintf(stderr, "\n");
|
||||
ExternalSource->PrintStats();
|
||||
|
|
Loading…
Reference in New Issue