[PATCH] D53975: Start adding the supporting code to perform out-of-process allocator enumeration.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 1 06:16:21 PDT 2018


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

This patch introduces the local portion (`LocalObjectView`) of the
`ObjectView` abstraction and demonstrates its use by modifying the
secondary allocator for out-of-process enumeration.

The `ObjectView` abstraction is an interface that tries to abstract away
the differences performing in-process and out-of-process operations so
that in-process and out-of-process enumeration can share the same
implementation.

This patch refers to but does not add the `RemoteObjectView`
implementation of the `ObjectView` abstraction which will be added
in later patches.

This patch is based on https://reviews.llvm.org/D50330 which provides
a complete implementation for all allocators but has been abandoned
due to difficulty of reviewing the code.

rdar://problem/45284065


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D53975

Files:
  lib/sanitizer_common/sanitizer_allocator.h
  lib/sanitizer_common/sanitizer_allocator_secondary.h
  lib/sanitizer_common/sanitizer_local_object_view.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53975.172112.patch
Type: text/x-patch
Size: 6197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181101/7248e886/attachment.bin>


More information about the llvm-commits mailing list