This is an archive of the discontinued LLVM Phabricator instance.

Add `LsanMetadataRemoteView` class.
Needs RevisionPublic

Authored by delcypher on Jan 20 2019, 5:54 PM.

Details

Summary

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

rdar://problem/45284065

Event Timeline

delcypher created this revision.Jan 20 2019, 5:54 PM
Herald added a subscriber: Restricted Project. · View Herald TranscriptJan 20 2019, 5:54 PM
vitalybuka requested changes to this revision.Apr 24 2019, 11:13 AM

Removing stale patches from the "Ready to Review" list.

This revision now requires changes to proceed.Apr 24 2019, 11:13 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 24 2019, 11:13 AM
yln resigned from this revision.Jul 22 2021, 4:14 PM