Skip to content

Commit

Permalink
Sync FuchsiaConfig with downstream's custom_scudo_config.h (llvm#89244)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fabio-d authored Apr 19, 2024
1 parent 30b9537 commit adc11b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler-rt/lib/scudo/standalone/allocator_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ struct FuchsiaConfig {
// Support 39-bit VMA for riscv-64
static const uptr RegionSizeLog = 28U;
static const uptr GroupSizeLog = 19U;
static const bool EnableContiguousRegions = false;
#else
static const uptr RegionSizeLog = 30U;
static const uptr GroupSizeLog = 21U;
Expand Down

0 comments on commit adc11b3

Please sign in to comment.