Module Name: src Committed By: mrg Date: Fri Aug 4 19:25:06 UTC 2023
Modified Files: src/external/gpl3/gcc/dist/libsanitizer/lsan: lsan_allocator.h Log Message: allow this to build on powerpc*. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ 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.8 src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h:1.9 --- src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h:1.8 Fri Aug 4 07:40:04 2023 +++ src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_allocator.h Fri Aug 4 19:25:06 2023 @@ -53,7 +53,8 @@ struct ChunkMetadata { defined(__arm__) || SANITIZER_RISCV64 || defined(__hexagon__) || \ ((defined(__hppa__) || defined(__sparc__)) && !defined(_LP64)) || \ defined(__mips_o32) || defined(__mips_n32) || defined(__m68k__) || \ - (defined(__riscv__) && !defined(_LP64)) + (defined(__riscv__) && !defined(_LP64)) || \ + (defined(__powerpc__) && !defined(__powerpc64__)) template <typename AddressSpaceViewTy> struct AP32 { static const uptr kSpaceBeg = 0; @@ -70,7 +71,7 @@ using PrimaryAllocatorASVT = SizeClassAl using PrimaryAllocator = PrimaryAllocatorASVT<LocalAddressSpaceView>; #elif defined(__x86_64__) || defined(__powerpc64__) || defined(__s390x__) || \ defined(__alpha__) || defined(__sparc64__) || defined(__ia64__) || \ - (defined(__riscv__) && !defined(_LP64)) + defined(__powerpc64__) || (defined(__riscv__) && !defined(_LP64)) # if SANITIZER_FUCHSIA const uptr kAllocatorSpace = ~(uptr)0; const uptr kAllocatorSize = 0x40000000000ULL; // 4T.