forked from OSchip/llvm-project
[sancov] Shrink pc array on Android back to 2**24.
Address space is a lot more constrained on 32-bit Android compared to Linux. llvm-svn: 234010
This commit is contained in:
parent
95ed78b85a
commit
e2a8241f84
|
@ -109,7 +109,8 @@ class CoverageData {
|
|||
|
||||
// Maximal size pc array may ever grow.
|
||||
// We MmapNoReserve this space to ensure that the array is contiguous.
|
||||
static const uptr kPcArrayMaxSize = FIRST_32_SECOND_64(1 << 26, 1 << 27);
|
||||
static const uptr kPcArrayMaxSize =
|
||||
FIRST_32_SECOND_64(1 << (SANITIZER_ANDROID ? 24 : 26), 1 << 27);
|
||||
// The amount file mapping for the pc array is grown by.
|
||||
static const uptr kPcArrayMmapSize = 64 * 1024;
|
||||
|
||||
|
|
Loading…
Reference in New Issue