Skip to content

Commit adc11b3

Browse files
authored
Sync FuchsiaConfig with downstream's custom_scudo_config.h (#89244)
Downstream disabled EnableContiguousRegions on RISCV-64 to avoid running out of virtual memory, but our tests still use the internal FuchsiaConfig class, which therefore needs to be changed too.
1 parent 30b9537 commit adc11b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/scudo/standalone/allocator_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ struct FuchsiaConfig {
146146
// Support 39-bit VMA for riscv-64
147147
static const uptr RegionSizeLog = 28U;
148148
static const uptr GroupSizeLog = 19U;
149+
static const bool EnableContiguousRegions = false;
149150
#else
150151
static const uptr RegionSizeLog = 30U;
151152
static const uptr GroupSizeLog = 21U;

0 commit comments

Comments
 (0)