[all-commits] [llvm/llvm-project] b5a9f9: [libc++] Make sure we use __ulock on Apple platforms

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Jul 7 14:15:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5a9f9f6dc06095c399701de2c6ca976b40bb09c
      https://github.com/llvm/llvm-project/commit/b5a9f9f6dc06095c399701de2c6ca976b40bb09c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M libcxx/src/atomic.cpp

  Log Message:
  -----------
  [libc++] Make sure we use __ulock on Apple platforms

We forgot to include the header, which means that _LIBCPP_USE_ULOCK was
always undefined and we'd always use the fallback. Note that this doesn't
seem to fix https://github.com/llvm/llvm-project/issues/63737.

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




More information about the All-commits mailing list