[PATCH] D55766: Introduce `AddressSpaceView` template parameter to `CombinedAllocator`.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 17 07:32:25 PST 2018


delcypher created this revision.
delcypher added reviewers: kcc, dvyukov, vitalybuka, cryptoad, eugenis, kubamracek, george.karpenkov, yln.
Herald added a subscriber: Sanitizers.

This is a follow up to https://reviews.llvm.org/D55764 .

For the ASan and LSan allocators we modified the type declarations so
its possible to create a combined allocator type that consistently uses
a different type of `AddressSpaceView` because we intend to use this in
future patches. For the other sanitizers they just use
`LocalAddressSpaceView` by default 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/D55766

Files:
  lib/asan/asan_allocator.h
  lib/lsan/lsan_allocator.cc
  lib/lsan/lsan_allocator.h
  lib/sanitizer_common/sanitizer_allocator_combined.h
  lib/sanitizer_common/sanitizer_allocator_secondary.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55766.178465.patch
Type: text/x-patch
Size: 5229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/7e7309c3/attachment.bin>


More information about the llvm-commits mailing list