[all-commits] [llvm/llvm-project] aeef9c: [scudo] CanCache should use Size + HeadersSize ins...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Jul 31 13:12:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeef9c0274c6419d15df5cb2bb885aa3072423d6
      https://github.com/llvm/llvm-project/commit/aeef9c0274c6419d15df5cb2bb885aa3072423d6
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/secondary.h

  Log Message:
  -----------
  [scudo] CanCache should use Size + HeadersSize instead of RoundedSize

Cached block may have nearly aligned address for a certain alignment so
that we don't have to round up the size in advance. The rounding should
only happen at determing the availability of a cached block.

Reviewed By: cferris

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




More information about the All-commits mailing list