reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
135 if (size > kMaxAllowedMallocSize) { 137 Report("WARNING: MemorySanitizer failed to allocate 0x%zx bytes\n", size); 140 ReportAllocationSizeTooBig(size, kMaxAllowedMallocSize, stack); 146 allocated = allocator.Allocate(cache, size, alignment); 150 allocated = allocator.Allocate(cache, size, alignment); 156 ReportOutOfMemory(size, stack); 160 meta->requested_size = size; 162 __msan_clear_and_unpoison(allocated, size); 164 __msan_poison(allocated, size); 168 __msan_set_origin(allocated, size, o.raw_id()); 171 MSAN_MALLOC_HOOK(allocated, size);