[compiler-rt] adc11b3 - Sync FuchsiaConfig with downstream's custom_scudo_config.h (#89244)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 12:27:58 PDT 2024


Author: Fabio D'Urso
Date: 2024-04-19T21:27:53+02:00
New Revision: adc11b34b1d7f99b3931f945073a652f0dec5aaf

URL: https://github.com/llvm/llvm-project/commit/adc11b34b1d7f99b3931f945073a652f0dec5aaf
DIFF: https://github.com/llvm/llvm-project/commit/adc11b34b1d7f99b3931f945073a652f0dec5aaf.diff

LOG: 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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/scudo/standalone/allocator_config.h b/compiler-rt/lib/scudo/standalone/allocator_config.h
index 1e0cf1015ba67e..60f59bdd2f4c3e 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;


        


More information about the llvm-commits mailing list