[all-commits] [llvm/llvm-project] 8e0c1a: [msan] Use SizeClassAllocator64 for AArch64

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 9 11:49:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e0c1aaf6ba315420e8dc136da3f7abd10f5c4ed
      https://github.com/llvm/llvm-project/commit/8e0c1aaf6ba315420e8dc136da3f7abd10f5c4ed
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M compiler-rt/lib/msan/msan_allocator.cpp

  Log Message:
  -----------
  [msan] Use SizeClassAllocator64 for AArch64

Now that D137666 requires 48-bit VMA for AArch64, we can switch to
SizeClassAllocator64 for a slightly more efficient allocator
(asan/lsan already switched by default).

It seems that we can pick kSpaceBeg = 0xE00000000000ULL to support both Linux
("app-15") and FreeBSD ("high memory").

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D140792




More information about the All-commits mailing list