Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/lsan add some more machi...



details:   https://anonhg.NetBSD.org/src/rev/3a1f8a1bbee0
branches:  trunk
changeset: 1004364:3a1f8a1bbee0
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 26 18:36:25 2019 +0000

description:
add some more machines to the 32 bit part

diffstat:

 external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7eb602bbbc07 -r 3a1f8a1bbee0 external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h
--- a/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h Sat Oct 26 17:57:20 2019 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h Sat Oct 26 18:36:25 2019 +0000
@@ -51,6 +51,10 @@
 #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 @@
 };
 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.



Home | Main Index | Thread Index | Old Index