diff options
author | Dan Liew <dan@su-root.co.uk> | 2018-12-21 21:09:31 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2018-12-21 21:09:31 +0000 |
commit | d2c6af7358db90682b4a3ab18707ac381fc4127a (patch) | |
tree | 65c5a41f38b1a71d21c9321a8028bfcbe007b180 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 9fc3a5f4383408f9baf660c28220285dbea29cbc (diff) | |
download | llvm-d2c6af7358db90682b4a3ab18707ac381fc4127a.zip llvm-d2c6af7358db90682b4a3ab18707ac381fc4127a.tar.gz llvm-d2c6af7358db90682b4a3ab18707ac381fc4127a.tar.bz2 |
Introduce `AddressSpaceView` template parameter to `SizeClassAllocator64`.
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
Reviewers: kcc, dvyukov, vitalybuka, cryptoad, eugenis, kubamracek, george.karpenkov
Subscribers: #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D55764
llvm-svn: 349954
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions