[all-commits] [llvm/llvm-project] 99f3b2: [libc++] Workaround timespec_get not always being ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Sep 1 12:11:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 99f3b231cb21abc567c93813650cd76cfa614325
      https://github.com/llvm/llvm-project/commit/99f3b231cb21abc567c93813650cd76cfa614325
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-09-01 (Tue, 01 Sep 2020)

  Changed paths:
    M libcxx/include/__config
    A libcxx/test/libcxx/language.support/timespec_get.xopen.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Workaround timespec_get not always being available in Apple SDKs

timespec_get is not available in Apple SDKs when (__DARWIN_C_LEVEL >= __DARWIN_C_FULL)
isn't true, which leads to libc++ trying to import ::timespec_get into
namespace std when it's not available. This issue has been reported to
Apple's libc, but we need a workaround in the meantime.

https://llvm.org/PR47208
rdar://68157284




More information about the All-commits mailing list