[AArch64][asan] fix typo in AsanStats::Print

This created an infinite loop that timed out several build bots while
executing the test in compiler-rt/test/asan/TestCases/atexit_stats.cpp

Differential Revision: https://reviews.llvm.org/D60243

llvm-svn: 369472
This commit is contained in:
Sebastian Pop 2019-08-20 23:28:05 +00:00
parent 9467734a1c
commit 5a7bba09ac
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void AsanStats::Print() {
mmaps, munmaps);
PrintMallocStatsArray(" mallocs by size class: ", malloced_by_size,
get_allocator().KMaxSize());
get_allocator().KNumClasses());
Printf("Stats: malloc large: %zu\n", malloc_large);
}