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