Home
last modified time | relevance | path

Searched refs:max_malloc_size (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_allocator.cpp39 static uptr max_malloc_size; variable
46 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in InitializeAllocator()
49 max_malloc_size = kMaxAllowedMallocSize; in InitializeAllocator()
82 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in ReportAllocationSizeTooBig()
89 if (size > max_malloc_size) in Allocate()
127 if (new_size > max_malloc_size) { in Reallocate()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_allocator.cpp132 static uptr max_malloc_size; variable
138 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in MsanAllocatorInit()
141 max_malloc_size = kMaxAllowedMallocSize; in MsanAllocatorInit()
156 if (size > max_malloc_size) { in MsanAllocate()
161 ReportAllocationSizeTooBig(size, max_malloc_size, stack); in MsanAllocate()