We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8a0b70 commit 5286206Copy full SHA for 5286206
compiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
@@ -169,7 +169,8 @@ struct SizeClassAllocator32LocalCache {
169
// By not doing pointer arithmetic, we avoid the OOB if c->count = 0.
170
// We just prefetch the previous member of the PerClass struct, which
171
// doesn't do harm.
172
- PREFETCH(reinterpret_cast<uptr>(c->batch) + sizeof(c->batch[0])* (c->count - 1));
+ PREFETCH(reinterpret_cast<uptr>(c->batch) +
173
+ sizeof(c->batch[0]) * (c->count - 1));
174
stats_.Add(AllocatorStatAllocated, c->class_size);
175
return res;
176
}
0 commit comments