File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler-rt/lib/scudo/standalone Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ template <typename Config> class MapAllocatorCache {
141
141
Entry.BlockBegin = reinterpret_cast <uptr>(H + 1 );
142
142
Entry.Data = H->Data ;
143
143
Entry.Time = Time;
144
- if (useMemoryTagging<Config>(Options) ) {
144
+ if (1 ) {
145
145
if (Interval == 0 && !SCUDO_FUCHSIA) {
146
146
// Release the memory and make it inaccessible at the same time by
147
147
// creating a new MAP_NOACCESS mapping on top of the existing mapping.
@@ -243,7 +243,7 @@ template <typename Config> class MapAllocatorCache {
243
243
*H = reinterpret_cast <LargeBlock::Header *>(
244
244
LargeBlock::addHeaderTag<Config>(HeaderPos));
245
245
*Zeroed = Entry.Time == 0 ;
246
- if (useMemoryTagging<Config>(Options) )
246
+ if (1 )
247
247
setMemoryPermission (Entry.CommitBase , Entry.CommitSize , 0 , &Entry.Data );
248
248
uptr NewBlockBegin = reinterpret_cast <uptr>(*H + 1 );
249
249
if (useMemoryTagging<Config>(Options)) {
You can’t perform that action at this time.
0 commit comments