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/sanitizer_common make st...



details:   https://anonhg.NetBSD.org/src/rev/b9cd4844f6b1
branches:  trunk
changeset: 448444:b9cd4844f6b1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 03 11:10:58 2019 +0000

description:
make structure that demands alignment be that alignment.

diffstat:

 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c0e44c0259be -r b9cd4844f6b1 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h      Sun Feb 03 11:10:26 2019 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h      Sun Feb 03 11:10:58 2019 +0000
@@ -325,7 +325,7 @@
     uptr num_releases;
   };
 
-  struct RegionInfo {
+  struct ALIGNED(kCacheLineSize) RegionInfo {
     BlockingMutex mutex;
     uptr num_freed_chunks;  // Number of elements in the freearray.
     uptr mapped_free_array;  // Bytes mapped for freearray.



Home | Main Index | Thread Index | Old Index