Module Name: src Committed By: christos Date: Sat Oct 26 18:36:25 UTC 2019
Modified Files: src/external/gpl3/gcc/dist/libsanitizer/lsan: lsan_allocator.h Log Message: add some more machines to the 32 bit part To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h diff -u src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h:1.2 src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h:1.3 --- src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h:1.2 Fri Oct 4 04:51:33 2019 +++ src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h Sat Oct 26 14:36:25 2019 @@ -51,6 +51,10 @@ struct ChunkMetadata { #if defined(__aarch64__) || defined(__i386__) || defined(__arm__) || \ ((defined(__sparc__) || \ defined(__powerpc__) || \ + defined(__m68k__) || \ + defined(__hppa__) || \ + defined(__sh3__) || \ + defined(__vax__) || \ defined(__mips__)) && !defined(_LP64)) static const uptr kRegionSizeLog = 20; static const uptr kNumRegions = SANITIZER_MMAP_RANGE_SIZE >> kRegionSizeLog; @@ -68,7 +72,7 @@ struct AP32 { }; typedef SizeClassAllocator32<AP32> PrimaryAllocator; #elif defined(__x86_64__) || defined(__powerpc64__) || defined(__sparc64__) || \ - (defined(__mips64) && defined(_LP64)) + defined(__alpha__) || (defined(__mips64) && defined(_LP64)) struct AP64 { // Allocator64 parameters. Deliberately using a short name. static const uptr kSpaceBeg = 0x600000000000ULL; static const uptr kSpaceSize = 0x40000000000ULL; // 4T.