@@ -59,7 +59,7 @@ struct AP64 { // Allocator Params. Short name for shorter demangled names..
59
59
static const uptr kMetadataSize = 16 ;
60
60
typedef ::SizeClassMap SizeClassMap;
61
61
typedef NoOpMapUnmapCallback MapUnmapCallback;
62
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
62
+ static const uptr kFlags = 0 ;
63
63
using AddressSpaceView = AddressSpaceViewTy;
64
64
};
65
65
@@ -70,7 +70,7 @@ struct AP64Dyn {
70
70
static const uptr kMetadataSize = 16 ;
71
71
typedef ::SizeClassMap SizeClassMap;
72
72
typedef NoOpMapUnmapCallback MapUnmapCallback;
73
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
73
+ static const uptr kFlags = 0 ;
74
74
using AddressSpaceView = AddressSpaceViewTy;
75
75
};
76
76
@@ -81,7 +81,7 @@ struct AP64Compact {
81
81
static const uptr kMetadataSize = 16 ;
82
82
typedef CompactSizeClassMap SizeClassMap;
83
83
typedef NoOpMapUnmapCallback MapUnmapCallback;
84
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
84
+ static const uptr kFlags = 0 ;
85
85
using AddressSpaceView = AddressSpaceViewTy;
86
86
};
87
87
@@ -92,7 +92,7 @@ struct AP64VeryCompact {
92
92
static const uptr kMetadataSize = 16 ;
93
93
typedef VeryCompactSizeClassMap SizeClassMap;
94
94
typedef NoOpMapUnmapCallback MapUnmapCallback;
95
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
95
+ static const uptr kFlags = 0 ;
96
96
using AddressSpaceView = AddressSpaceViewTy;
97
97
};
98
98
@@ -103,7 +103,7 @@ struct AP64Dense {
103
103
static const uptr kMetadataSize = 16 ;
104
104
typedef DenseSizeClassMap SizeClassMap;
105
105
typedef NoOpMapUnmapCallback MapUnmapCallback;
106
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
106
+ static const uptr kFlags = 0 ;
107
107
using AddressSpaceView = AddressSpaceViewTy;
108
108
};
109
109
@@ -155,7 +155,7 @@ struct AP32Compact {
155
155
using AddressSpaceView = AddressSpaceViewTy;
156
156
using ByteMap = FlatByteMap<kFlatByteMapSize , AddressSpaceView>;
157
157
typedef NoOpMapUnmapCallback MapUnmapCallback;
158
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
158
+ static const uptr kFlags = 0 ;
159
159
};
160
160
template <typename AddressSpaceView>
161
161
using Allocator32CompactASVT =
@@ -302,8 +302,7 @@ struct AP32SeparateBatches {
302
302
using ByteMap = FlatByteMap<kFlatByteMapSize , AddressSpaceView>;
303
303
typedef NoOpMapUnmapCallback MapUnmapCallback;
304
304
static const uptr kFlags =
305
- SizeClassAllocator32FlagMasks::kUseSeparateSizeClassForBatch |
306
- SizeClassAllocator32FlagMasks::kForTest ;
305
+ SizeClassAllocator32FlagMasks::kUseSeparateSizeClassForBatch ;
307
306
};
308
307
template <typename AddressSpaceView>
309
308
using Allocator32SeparateBatchesASVT =
@@ -439,7 +438,7 @@ struct AP64WithCallback {
439
438
static const uptr kMetadataSize = 16 ;
440
439
typedef ::SizeClassMap SizeClassMap;
441
440
typedef TestMapUnmapCallback MapUnmapCallback;
442
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
441
+ static const uptr kFlags = 0 ;
443
442
using AddressSpaceView = AddressSpaceViewTy;
444
443
};
445
444
@@ -477,7 +476,7 @@ struct AP32WithCallback {
477
476
using AddressSpaceView = AddressSpaceViewTy;
478
477
using ByteMap = FlatByteMap<kFlatByteMapSize , AddressSpaceView>;
479
478
typedef TestMapUnmapCallback MapUnmapCallback;
480
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
479
+ static const uptr kFlags = 0 ;
481
480
};
482
481
483
482
TEST (SanitizerCommon, SizeClassAllocator32MapUnmapCallback) {
@@ -1040,7 +1039,7 @@ struct AP64_SpecialSizeClassMap {
1040
1039
static const uptr kMetadataSize = 0 ;
1041
1040
typedef SpecialSizeClassMap SizeClassMap;
1042
1041
typedef NoOpMapUnmapCallback MapUnmapCallback;
1043
- static const uptr kFlags = SizeClassAllocator32FlagMasks:: kForTest ;
1042
+ static const uptr kFlags = 0 ;
1044
1043
using AddressSpaceView = AddressSpaceViewTy;
1045
1044
};
1046
1045
0 commit comments