diff options
author | Fabio D'Urso <fdurso@google.com> | 2024-04-19 21:27:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 21:27:53 +0200 |
commit | adc11b34b1d7f99b3931f945073a652f0dec5aaf (patch) | |
tree | a42fe6f1b75a219e04a3002dec8ec1624b3bca0a | |
parent | 30b9537ff438366547f968c7909718e27d65c815 (diff) | |
download | llvm-adc11b34b1d7f99b3931f945073a652f0dec5aaf.zip llvm-adc11b34b1d7f99b3931f945073a652f0dec5aaf.tar.gz llvm-adc11b34b1d7f99b3931f945073a652f0dec5aaf.tar.bz2 |
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.
-rw-r--r-- | compiler-rt/lib/scudo/standalone/allocator_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/scudo/standalone/allocator_config.h b/compiler-rt/lib/scudo/standalone/allocator_config.h index 1e0cf10..60f59bd 100644 --- a/compiler-rt/lib/scudo/standalone/allocator_config.h +++ b/compiler-rt/lib/scudo/standalone/allocator_config.h @@ -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; |