[all-commits] [llvm/llvm-project] 7dda44: [scudo] Use template specialization on Quarantine ...

Dominic Chen via All-commits all-commits at lists.llvm.org
Mon Mar 28 16:36:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7dda44c189d74ec0a1bbe7dfff7c4d5f6b0e96d4
      https://github.com/llvm/llvm-project/commit/7dda44c189d74ec0a1bbe7dfff7c4d5f6b0e96d4
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

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

  Log Message:
  -----------
  [scudo] Use template specialization on Quarantine to avoid zero-length array

Use a separate templated QuarantineBlocks class to avoid a zero-length array

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


  Commit: 9343fc76133bfdd0e4003e58403a79b140ec1b25
      https://github.com/llvm/llvm-project/commit/9343fc76133bfdd0e4003e58403a79b140ec1b25
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

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

  Log Message:
  -----------
  [scudo] Use cast on calls to __builtin_umul_overflow/__builtin_umull_overflow

Platforms may define uintptr_t differently, so perform an explicit cast

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


Compare: https://github.com/llvm/llvm-project/compare/2add3fbd976d...9343fc76133b


More information about the All-commits mailing list