[PATCH] D54904: Introduce `AddressSpaceView` template parameter to `SizeClassAllocator32`, `FlatByteMap`, and `TwoLevelByteMap`.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 29 11:48:08 PST 2018


delcypher updated this revision to Diff 175917.
delcypher added a comment.

- Use ASVT (Address Space View Template) as a suffix on types that takes `AddressSpaceView` as a single template parameter (apart from AP32 and AP64 to avoid making the name longer).
- Remove static_assert and related header file. I'll put that in another patch.


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54904/new/

https://reviews.llvm.org/D54904

Files:
  lib/asan/asan_allocator.h
  lib/hwasan/hwasan_allocator.h
  lib/lsan/lsan_allocator.h
  lib/msan/msan_allocator.cc
  lib/sanitizer_common/sanitizer_allocator_bytemap.h
  lib/sanitizer_common/sanitizer_allocator_internal.h
  lib/sanitizer_common/sanitizer_allocator_primary32.h
  lib/sanitizer_common/tests/sanitizer_allocator_test.cc
  lib/scudo/scudo_allocator.h
  lib/tsan/rtl/tsan_rtl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54904.175917.patch
Type: text/x-patch
Size: 18425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181129/8b3e2704/attachment.bin>


More information about the llvm-commits mailing list