Skip to content

Commit

Permalink
[AArch64][asan] fix typo in AsanStats::Print
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sebpop committed Aug 20, 2019
1 parent 9467734 commit 5a7bba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/asan/asan_stats.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5a7bba0

Please sign in to comment.