Fix bug in `AsanAllocatorASVT` (ASan) and `AllocatorASVT` (LSan) templated alias.
authorDan Liew <dan@su-root.co.uk>
Sun, 20 Jan 2019 16:57:24 +0000 (16:57 +0000)
committerDan Liew <dan@su-root.co.uk>
Sun, 20 Jan 2019 16:57:24 +0000 (16:57 +0000)
commit0e83f5dff115a621b0ac1413dcff85d081b31d5b
tree54ee51779cca2eee1337ebc1782d7dee4d4fb552
parent4fd2459c4dd3c27cb6a62174cf9ba6816033ddce
Fix bug in `AsanAllocatorASVT` (ASan) and `AllocatorASVT` (LSan) templated alias.

We forgot to pass `AddressSpaceView` to the `CombinedAllocator`
which meant we would always use `LocalAddressSpaceView` for the
`CombinedAllocator` leading to a static_assert failing when we
tried to do `AsanAllocatorASVT<RemoteAddressSpaceView>` or
`AllocatorASVT<RemoteAddressSpaceView>`.

rdar://problem/45284065

llvm-svn: 351689
compiler-rt/lib/asan/asan_allocator.h
compiler-rt/lib/lsan/lsan_allocator.h