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

Kostya Serebryany kcc at google.com
Thu Nov 6 11:30:47 PST 2014


>>! In D6024#13, @kumarsukhani wrote:
> @kcc: As mentioned here[1], whether 16TB of memory is must for asan64 ?
16Tb is the limit for the 47-bit address space in x86_64 -- asan requires that much AS for the shadow. 
It also requires 4Tb for the allocator, so on x86_64 the current requirement is 20Tb.

With another address space the limits will be different. 


> Because test-cases in compiler-rt are working fine.
> Now I am planning to build some big application with asan which require GBs of memory.

No need to try a large app. 
Write a test that allocates (and does not deallocate) 32-byte chunks in an infinite loop and see how much RAM it can allocate. 


> 
> [1] http://clang.llvm.org/docs/AddressSanitizer.html#limitations

http://reviews.llvm.org/D6024






More information about the llvm-commits mailing list