[PATCH] D55764: Introduce `AddressSpaceView` template parameter to `SizeClassAllocator64`.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 17 06:08:47 PST 2018
delcypher created this revision.
delcypher added reviewers: kcc, dvyukov, vitalybuka, cryptoad, eugenis, kubamracek, george.karpenkov.
Herald added a subscriber: Sanitizers.
This is a follow up patch to r349138.
This patch makes a `AddressSpaceView` a type declaration in the
allocator parameters used by `SizeClassAllocator64`. For ASan, LSan, and
the unit tests the AP64 declarations have been made templated so that
`AddressSpaceView` can be changed at compile time. For the other
sanitizers we just hard-code `LocalAddressSpaceView` because we have no
plans to use these allocators in an out-of-process manner.
rdar://problem/45284065
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D55764
Files:
lib/asan/asan_allocator.h
lib/lsan/lsan_allocator.h
lib/msan/msan_allocator.cc
lib/sanitizer_common/sanitizer_allocator_primary64.h
lib/sanitizer_common/tests/sanitizer_allocator_test.cc
lib/scudo/scudo_allocator.h
lib/tsan/rtl/tsan_rtl.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55764.178457.patch
Type: text/x-patch
Size: 10469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/5d3e438e/attachment.bin>
More information about the llvm-commits
mailing list