[PATCH] [asan] [mips] added support of asan for mips64/mips64el

Kostya Serebryany kcc at google.com
Tue Nov 11 14:59:22 PST 2014


>>! In D6024#18, @kumarsukhani wrote:
> I got same output as you posted above. I tested it on mips64.
> 
> ...
> Allocated 16777216 chunks of 24 bytes, total 384 Mb
> Allocated 33554432 chunks of 24 bytes, total 768 Mb
> Allocated 67108864 chunks of 24 bytes, total 1536 Mb
> AddressSanitizer: Out of memory. Dying. The process has exhausted 4096MB for size class 48.

Which proves my point. Don't use SanitizerAllocator64 unless you have at least ~46 bits of address space. 
Check SANITIZER_CAN_USE_ALLOCATOR64 in sanitizer_common/sanitizer_platform.h

http://reviews.llvm.org/D6024






More information about the llvm-commits mailing list