diff options
author | Vitaly Buka <vitalybuka@google.com> | 2019-05-01 19:30:49 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2019-05-01 19:30:49 +0000 |
commit | 76931df40f0b39e57bbca273dad3bb9172b6e0b0 (patch) | |
tree | 555cdc44eac740a9db2217f0103a3a019db258b6 /compiler-rt/lib/msan | |
parent | 986c7dfa9ff5db9a836a13237d3fe42f2bda7b4d (diff) | |
download | bcm5719-llvm-76931df40f0b39e57bbca273dad3bb9172b6e0b0.tar.gz bcm5719-llvm-76931df40f0b39e57bbca273dad3bb9172b6e0b0.zip |
[sanitizer][NFC] Get type of AllocatorCache from CombinedAllocator
Reviewers: eugenis, cryptoad, kcc
Reviewed By: kcc
Subscribers: kcc, kubamracek, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D61155
llvm-svn: 359715
Diffstat (limited to 'compiler-rt/lib/msan')
-rw-r--r-- | compiler-rt/lib/msan/msan_allocator.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler-rt/lib/msan/msan_allocator.cc b/compiler-rt/lib/msan/msan_allocator.cc index 8bf8fda061c..59c39cbef95 100644 --- a/compiler-rt/lib/msan/msan_allocator.cc +++ b/compiler-rt/lib/msan/msan_allocator.cc @@ -108,10 +108,9 @@ struct AP32 { }; typedef SizeClassAllocator32<AP32> PrimaryAllocator; #endif -typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef LargeMmapAllocator<MsanMapUnmapCallback> SecondaryAllocator; -typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, - SecondaryAllocator> Allocator; +typedef CombinedAllocator<PrimaryAllocator, SecondaryAllocator> Allocator; +typedef Allocator::AllocatorCache AllocatorCache; static Allocator allocator; static AllocatorCache fallback_allocator_cache; |