diff options
| author | Sebastian Pop <sebpop@gmail.com> | 2019-08-20 23:28:05 +0000 |
|---|---|---|
| committer | Sebastian Pop <sebpop@gmail.com> | 2019-08-20 23:28:05 +0000 |
| commit | 5a7bba09acff4af0314641e6a0a45932ac74a594 (patch) | |
| tree | 1d610021a65414982baa7ff02aec62324529a98a | |
| parent | 9467734a1c561a79be5b8a7d6cd8e4389d287c59 (diff) | |
| download | bcm5719-llvm-5a7bba09acff4af0314641e6a0a45932ac74a594.tar.gz bcm5719-llvm-5a7bba09acff4af0314641e6a0a45932ac74a594.zip | |
[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
| -rw-r--r-- | compiler-rt/lib/asan/asan_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_stats.cpp b/compiler-rt/lib/asan/asan_stats.cpp index e4a1a390b2c..c2f25cc6d99 100644 --- a/compiler-rt/lib/asan/asan_stats.cpp +++ b/compiler-rt/lib/asan/asan_stats.cpp @@ -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); } |

