[all-commits] [llvm/llvm-project] 840a16: Revert "[darwin] switch blocking mutex from osspin...

Hans via All-commits all-commits at lists.llvm.org
Thu Mar 4 03:23:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 840a16d3c4cbb193dde4e1f41f9137a2a234d0f8
      https://github.com/llvm/llvm-project/commit/840a16d3c4cbb193dde4e1f41f9137a2a234d0f8
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp

  Log Message:
  -----------
  Revert "[darwin] switch blocking mutex from osspinlock to os_unfair_lock"

> OSSpinLock is deprecated, so we are switching to `os_unfair_lock`. However, `os_unfair_lock` isn't available on older OSs, so we keep `OSSpinLock` as fallback.
>
> Also change runtime assumption check to static since they only ever check constant values.
>
> rdar://69588111
>
> Reviewed By: delcypher, yln
>
> Differential Revision: https://reviews.llvm.org/D97509

This reverts commit 71ef54337d5e83c6767e4816227ef340caa337fc.




More information about the All-commits mailing list