[all-commits] [llvm/llvm-project] 6860d1: [scudo] Accessing PossibleRegions requires lock

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Thu Feb 23 20:19:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6860d1c6e44f3e0a0d182f58b3848f720b5ade59
      https://github.com/llvm/llvm-project/commit/6860d1c6e44f3e0a0d182f58b3848f720b5ade59
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

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

  Log Message:
  -----------
  [scudo] Accessing PossibleRegions requires lock

It is preferable to use `std::shared_mutex` style mutex. Will switch to
using it when it's available.

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




More information about the All-commits mailing list