Hi all,

While trying to use tsan on Aarch64, I am getting mmap failure.

__sanitizer::internal_mmap (addr=0x7d0000000000, length=1099511627776, prot=0,
    flags=16434, fd=-1, offset=0)

 p syscall(222, 0x7d00000000, 1099511627776, 0, 16434, -1,0,0)
$34 = -1


// SizeClassAllocator64 -- allocator for 64-bit address space.
//
// Space: a portion of address space of kSpaceSize bytes starting at
// a fixed address (kSpaceBeg). Both constants are powers of two and
// kSpaceBeg is kSpaceSize-aligned.
// At the beginning the entire space is mprotect-ed, then small parts of it
// are mapped on demand.
//


The kSpaceBeg seem to be  0x7d00000000 by default and kSpaceSize seem
to be 1099511627776.

I am trying to understand where these default values are set?

regards,
Venkat.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to