forked from OSchip/llvm-project
[asan] Reduce shadow gap start on 32-bit Android.
This fixes an internal assertion failure when running out of the address space in the large allocator. llvm-svn: 244359
This commit is contained in:
parent
8c484af217
commit
290d721070
|
@ -178,7 +178,7 @@ static const u64 kWindowsShadowOffset32 = 3ULL << 28; // 0x30000000
|
|||
|
||||
// With the zero shadow base we can not actually map pages starting from 0.
|
||||
// This constant is somewhat arbitrary.
|
||||
#define kZeroBaseShadowStart (1 << 18)
|
||||
#define kZeroBaseShadowStart 4096
|
||||
|
||||
#define kShadowGapBeg (kLowShadowEnd ? kLowShadowEnd + 1 \
|
||||
: kZeroBaseShadowStart)
|
||||
|
|
Loading…
Reference in New Issue