These tests use a VMContext object that is set to read the local
address space. As a consequence these tests don't actually
really test the remote read functionality but they do:
- Check that the allocators can be instantiated with
RemoteAddressSpaceView as the AddressSpaceView type on all
platforms.
- Check that in-process enumeration still works correctly when the allocator is instatiated with RemoteAddressSpaceView.
- Check that the size of the allocators doesn't change when instantiated with LocalAddressSpaceView or RemoteAddressSpaceView.
Ideally we'd check that the entire data layout of the classes hasn't
changed when changing the AddressSpaceView template parameter.
Unfortunately doing that manually would be a significant amount of work
that would hinder maintainability, so for now we just don't check the
data layout.
rdar://problem/45284065
How are we going init AllocatorRemoteView in production code?