[llvm-commits] [compiler-rt] r172526 - /compiler-rt/trunk/lib/asan/asan_allocator.h

Dmitry Vyukov dvyukov at google.com
Tue Jan 15 02:45:18 PST 2013


Author: dvyukov
Date: Tue Jan 15 04:45:18 2013
New Revision: 172526

URL: http://llvm.org/viewvc/llvm-project?rev=172526&view=rev
Log:
asan: fix the constant for new allocator cache

Modified:
    compiler-rt/trunk/lib/asan/asan_allocator.h

Modified: compiler-rt/trunk/lib/asan/asan_allocator.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_allocator.h?rev=172526&r1=172525&r2=172526&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_allocator.h (original)
+++ compiler-rt/trunk/lib/asan/asan_allocator.h Tue Jan 15 04:45:18 2013
@@ -112,7 +112,7 @@
   AsanChunk *free_lists_[kNumberOfSizeClasses];
 #else
   uptr quarantine_cache[16];
-  uptr allocator2_cache[1024];  // Opaque.
+  uptr allocator2_cache[96 * (512 * 8 + 16)];  // Opaque.
 #endif
   void CommitBack();
 };





More information about the llvm-commits mailing list