diff options
author | Kostya Serebryany <kcc@google.com> | 2012-12-12 14:32:18 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-12-12 14:32:18 +0000 |
commit | 214621f7663896987dc509561c762460226c68c2 (patch) | |
tree | 2072acb89855f4d84278aa7a82d5c1747a7d7cbf /lib/msan/msan_allocator.cc | |
parent | d0fa1c1d51f423f90421fe401e2f39f7fa356ec7 (diff) |
[sanitizer] add OnMap/OnUmap callbacks to the allocator interface
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_allocator.cc')
-rw-r--r-- | lib/msan/msan_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc index 5d865c30b..7435843ce 100644 --- a/lib/msan/msan_allocator.cc +++ b/lib/msan/msan_allocator.cc @@ -29,7 +29,7 @@ static const uptr kMetadataSize = sizeof(Metadata); typedef SizeClassAllocator64<kAllocatorSpace, kAllocatorSize, kMetadataSize, DefaultSizeClassMap> PrimaryAllocator; typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; -typedef LargeMmapAllocator SecondaryAllocator; +typedef LargeMmapAllocator<> SecondaryAllocator; typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, SecondaryAllocator> Allocator; |