[all-commits] [llvm/llvm-project] 6fb70a: [scudo] Fix missing one block in range marking

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Fri May 5 07:55:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fb70a8a607ebb5ceb27115f9e61665264e1cddb
      https://github.com/llvm/llvm-project/commit/6fb70a8a607ebb5ceb27115f9e61665264e1cddb
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-05-05 (Fri, 05 May 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/release.h
    M compiler-rt/lib/scudo/standalone/tests/release_test.cpp

  Log Message:
  -----------
  [scudo] Fix missing one block in range marking

When a range contains only one block, we may not mark the pages touched
by the block as can-be-released. This happens in the last group and if
it only contains single block.

Also enhance the existing tests and add a new test for testing the last
block.

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




More information about the All-commits mailing list