[PATCH] D56994: Add `LsanMetadataRemoteView` class.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 20 17:54:37 PST 2019
delcypher created this revision.
delcypher added reviewers: kcc, vitalybuka, dvyukov, cryptoad, eugenis, george.karpenkov, yln, kubamracek.
Herald added a subscriber: Sanitizers.
This corresponds roughly with the existing `LsanMetadata` wrapper
class but it is intended for use in an out-of-process context.
Instead of templating the `LsanMetadata` class on `AddressSpaceView`,
we sub-class `LsanMetadata` as `LsanMetadataRemoteView` so we can
re-use as much code as possible. `LsanMetadataRemoteView` also requires
storing extra more fields which I did not want `LsanMetadata` to also
require.
This patch only provides an implementation of `LsanMetadataRemoteView`
for ASan. An implementation for LSan will be provided at a later date.
This patch uses refactorings done in
- https://reviews.llvm.org/D56968
- https://reviews.llvm.org/D56993
rdar://problem/45284065
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D56994
Files:
lib/asan/asan_allocator.cc
lib/lsan/lsan_common.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56994.182735.patch
Type: text/x-patch
Size: 4534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190121/65ee4fca/attachment.bin>
More information about the llvm-commits
mailing list