diff options
author | Kostya Serebryany <kcc@google.com> | 2012-12-27 14:09:19 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-12-27 14:09:19 +0000 |
commit | 4b48f4563ca25d8915155acc5837e195cf0e5c57 (patch) | |
tree | 9982c23b5886f2dd76bd0ee98732506a766a31ec /lib/asan/asan_allocator.cc | |
parent | d7d7b5f39cf5bbc36403afb0a94d473519c7ab78 (diff) |
[sanitizer] add statistics to the allocator; fix lint
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_allocator.cc')
-rw-r--r-- | lib/asan/asan_allocator.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asan/asan_allocator.cc b/lib/asan/asan_allocator.cc index 4cb8ac1d9..d94fb5ec9 100644 --- a/lib/asan/asan_allocator.cc +++ b/lib/asan/asan_allocator.cc @@ -687,6 +687,9 @@ void __asan_free_hook(void *ptr) { namespace __asan { +void PrintInternalAllocatorStats() { +} + SANITIZER_INTERFACE_ATTRIBUTE void *asan_memalign(uptr alignment, uptr size, StackTrace *stack, AllocType alloc_type) { |