[PATCH] Use SizeClassAllocator32 as an internal allocator

Alexey Samsonov samsonov at google.com
Tue May 28 03:22:08 PDT 2013


Hi kcc, dvyukov,

This change make InternalAlloc/InternalFree functions use SizeClassAllocator32
instead of libc malloc. It also adds thread-local caches for internal allocator
to TSan.

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

Files:
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/CMakeLists.txt
  lib/sanitizer_common/sanitizer_libc.cc
  lib/sanitizer_common/sanitizer_allocator_internal.h
  lib/sanitizer_common/sanitizer_allocator.cc
  lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
  lib/sanitizer_common/tests/sanitizer_allocator_test.cc
  lib/tsan/rtl/tsan_mman.cc
  lib/tsan/rtl/tsan_rtl.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D874.1.patch
Type: text/x-patch
Size: 11746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130528/0ecfec02/attachment.bin>


More information about the llvm-commits mailing list