diff options
author | Kostya Serebryany <kcc@google.com> | 2012-05-31 14:35:53 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-05-31 14:35:53 +0000 |
commit | 3f4c3875c42078e22c7e5356c5746fd18756d958 (patch) | |
tree | 5eb54d08f73ecc05f51f038ab7d9920c8e380b48 /lib/asan/asan_stats.h | |
parent | a13749bd7b3629a3498e765960729a8ade5db7cf (diff) |
[asan] more renaming
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_stats.h')
-rw-r--r-- | lib/asan/asan_stats.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/lib/asan/asan_stats.h b/lib/asan/asan_stats.h index d6dd084c0..b4c63f44f 100644 --- a/lib/asan/asan_stats.h +++ b/lib/asan/asan_stats.h @@ -23,27 +23,27 @@ namespace __asan { // Each AsanThread has its own AsanStats, which are sometimes flushed // to the accumulated AsanStats. struct AsanStats { - // AsanStats must be a struct consisting of size_t fields only. - // When merging two AsanStats structs, we treat them as arrays of size_t. - size_t mallocs; - size_t malloced; - size_t malloced_redzones; - size_t frees; - size_t freed; - size_t real_frees; - size_t really_freed; - size_t really_freed_redzones; - size_t reallocs; - size_t realloced; - size_t mmaps; - size_t mmaped; - size_t mmaped_by_size[kNumberOfSizeClasses]; - size_t malloced_by_size[kNumberOfSizeClasses]; - size_t freed_by_size[kNumberOfSizeClasses]; - size_t really_freed_by_size[kNumberOfSizeClasses]; - - size_t malloc_large; - size_t malloc_small_slow; + // AsanStats must be a struct consisting of uptr fields only. + // When merging two AsanStats structs, we treat them as arrays of uptr. + uptr mallocs; + uptr malloced; + uptr malloced_redzones; + uptr frees; + uptr freed; + uptr real_frees; + uptr really_freed; + uptr really_freed_redzones; + uptr reallocs; + uptr realloced; + uptr mmaps; + uptr mmaped; + uptr mmaped_by_size[kNumberOfSizeClasses]; + uptr malloced_by_size[kNumberOfSizeClasses]; + uptr freed_by_size[kNumberOfSizeClasses]; + uptr really_freed_by_size[kNumberOfSizeClasses]; + + uptr malloc_large; + uptr malloc_small_slow; // Ctor for global AsanStats (accumulated stats and main thread stats). explicit AsanStats(LinkerInitialized) { } |