This is an archive of the discontinued LLVM Phabricator instance.

Introduce `AddressSpaceView` template parameter to `SizeClassAllocator64`.
ClosedPublic

Authored by delcypher on Dec 17 2018, 6:08 AM.

Details

Summary

This is a follow up patch to r349138.

This patch makes a AddressSpaceView a type declaration in the
allocator parameters used by SizeClassAllocator64. For ASan, LSan, and
the unit tests the AP64 declarations have been made templated so that
AddressSpaceView can be changed at compile time. For the other
sanitizers we just hard-code LocalAddressSpaceView because we have no
plans to use these allocators in an out-of-process manner.

rdar://problem/45284065

Diff Detail

Repository
rL LLVM

Event Timeline

delcypher created this revision.Dec 17 2018, 6:08 AM
Herald added a subscriber: Restricted Project. · View Herald TranscriptDec 17 2018, 6:08 AM
vitalybuka accepted this revision.Dec 20 2018, 3:21 PM
This revision is now accepted and ready to land.Dec 20 2018, 3:21 PM
This revision was automatically updated to reflect the committed changes.