File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -69,22 +69,26 @@ using PrimaryAllocator = PrimaryAllocatorASVT<LocalAddressSpaceView>;
69
69
# if SANITIZER_FUCHSIA || defined(__powerpc64__)
70
70
const uptr kAllocatorSpace = ~(uptr)0 ;
71
71
const uptr kAllocatorSize = 0x40000000000ULL ; // 4T.
72
+ using LSanSizeClassMap = DefaultSizeClassMap;
72
73
# elif SANITIZER_RISCV64
73
74
const uptr kAllocatorSpace = ~(uptr)0 ;
74
75
const uptr kAllocatorSize = 0x2000000000ULL ; // 128G.
76
+ using LSanSizeClassMap = DefaultSizeClassMap;
75
77
# elif SANITIZER_APPLE
76
78
const uptr kAllocatorSpace = 0x600000000000ULL ;
77
79
const uptr kAllocatorSize = 0x40000000000ULL ; // 4T.
80
+ using LSanSizeClassMap = DefaultSizeClassMap;
78
81
# else
79
82
const uptr kAllocatorSpace = 0x500000000000ULL ;
80
83
const uptr kAllocatorSize = 0x40000000000ULL ; // 4T.
84
+ using LSanSizeClassMap = DefaultSizeClassMap;
81
85
# endif
82
86
template <typename AddressSpaceViewTy>
83
87
struct AP64 { // Allocator64 parameters. Deliberately using a short name.
84
88
static const uptr kSpaceBeg = kAllocatorSpace ;
85
89
static const uptr kSpaceSize = kAllocatorSize ;
86
90
static const uptr kMetadataSize = sizeof (ChunkMetadata);
87
- typedef DefaultSizeClassMap SizeClassMap;
91
+ using SizeClassMap = LSanSizeClassMap ;
88
92
typedef NoOpMapUnmapCallback MapUnmapCallback;
89
93
static const uptr kFlags = 0 ;
90
94
using AddressSpaceView = AddressSpaceViewTy;
You can’t perform that action at this time.
0 commit comments