[all-commits] [llvm/llvm-project] 4720e3: [NFC][Sanitizer] Refine the restriction on SizeCla...

Enna1 via All-commits all-commits at lists.llvm.org
Tue Mar 26 18:07:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4720e3831b814fdd2e8441ee0ac05b6934fdf533
      https://github.com/llvm/llvm-project/commit/4720e3831b814fdd2e8441ee0ac05b6934fdf533
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h

  Log Message:
  -----------
  [NFC][Sanitizer] Refine the restriction on SizeClassAllocator64::kRegionSize (#86270)

This patch replaces the `SANITIZER_WORDSIZE / 2` with
`sizeof(CompactPtrT) * 8`, replaces hardcoded `4` with
`kCompactPtrScale` in assertion.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list