[PATCH] Use SizeClassAllocator32 as an internal allocator

Dmitry Vyukov dvyukov at google.com
Wed May 29 02:01:21 PDT 2013



================
Comment at: lib/sanitizer_common/sanitizer_allocator.cc:89
@@ -30,3 +88,3 @@
 
-const u64 kBlockMagic = 0x6A6CB03ABCEBC041ull;
+static const u64 kBlockMagic = 0x6A6CB03ABCEBC041ull;
 
----------------
s/static //
const are static by default

================
Comment at: lib/sanitizer_common/sanitizer_allocator_internal.h:42
@@ +41,3 @@
+typedef SizeClassAllocatorLocalCache<PrimaryInternalAllocator>
+InternalAllocatorCache;
+
----------------
add tab


http://llvm-reviews.chandlerc.com/D874

BRANCH
  svn

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list