[all-commits] [llvm/llvm-project] 30532c: [scudo] Fix secondary caching for mte (#150156)

Christopher Ferris via All-commits all-commits at lists.llvm.org
Mon Jul 28 12:56:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30532c13d2fb592af9cb651f6571beca4b48b705
      https://github.com/llvm/llvm-project/commit/30532c13d2fb592af9cb651f6571beca4b48b705
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

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

  Log Message:
  -----------
  [scudo] Fix secondary caching for mte (#150156)

The current code always unmaps a secondary allocation when MTE is
enabled. Fix this to match the comment, namely only unmap if MTE was
enabled and is no longer enabled after acquiring the lock.

In addition, allow quaratine to work in the secondary even if MTE is not
enabled.



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