[PATCH] Use SizeClassAllocator32 as an internal allocator

Alexey Samsonov samsonov at google.com
Wed May 29 02:18:08 PDT 2013


  r182836, thanks!


================
Comment at: lib/sanitizer_common/sanitizer_allocator.cc:89
@@ -30,3 +88,3 @@
 
-const u64 kBlockMagic = 0x6A6CB03ABCEBC041ull;
+static const u64 kBlockMagic = 0x6A6CB03ABCEBC041ull;
 
----------------
Dmitry Vyukov wrote:
> s/static //
> const are static by default
Done (TIL)

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


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

BRANCH
  svn

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list