[all-commits] [llvm/llvm-project] 20c04a: [NFC][Sanitizer] Fix incorrect desc of [beg, end] ...

Kunqiu Chen via All-commits all-commits at lists.llvm.org
Mon Jun 23 00:23:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20c04a646bcfa20d0828e0d7eae969f262718e48
      https://github.com/llvm/llvm-project/commit/20c04a646bcfa20d0828e0d7eae969f262718e48
  Author: Camsyn <camsyn at foxmail.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

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

  Log Message:
  -----------
  [NFC][Sanitizer] Fix incorrect desc of [beg, end] to [beg, end)

Correct the interval desc of ReleaseMemoryPagesToOS from [beg, end] to
[beg, end), as it actually does.

The previous incorrect description of [beg, end] might cause an
incorrect invoke as follows: `ReleaseMemoryPagesToOS(0, kPageSize - 1);`



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