[llvm-commits] [compiler-rt] r159137 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator64.h
Kostya Serebryany
kcc at google.com
Mon Jun 25 07:31:59 PDT 2012
Author: kcc
Date: Mon Jun 25 09:31:59 2012
New Revision: 159137
URL: http://llvm.org/viewvc/llvm-project?rev=159137&view=rev
Log:
[tsan] fix the build
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator64.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator64.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator64.h?rev=159137&r1=159136&r2=159137&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator64.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator64.h Mon Jun 25 09:31:59 2012
@@ -149,9 +149,7 @@
LifoListNode *free_list;
uptr allocated_user; // Bytes allocated for user memory.
uptr allocated_meta; // Bytes allocated for metadata.
- char padding[kCacheLineSize -
- sizeof(mutex) - sizeof(free_list) -
- sizeof(allocated_user) - sizeof(allocated_meta)];
+ char padding[kCacheLineSize - 4 * sizeof(uptr)];
};
COMPILER_CHECK(sizeof(RegionInfo) == kCacheLineSize);
More information about the llvm-commits
mailing list