[all-commits] [llvm/llvm-project] 16779f: [libc++] Add static_assert to make sure rate limit...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Jul 22 11:50:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16779f8084541b626578a4bda2f51ee741dcd7bf
      https://github.com/llvm/llvm-project/commit/16779f8084541b626578a4bda2f51ee741dcd7bf
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M libcxxabi/src/private_typeinfo.cpp

  Log Message:
  -----------
  [libc++] Add static_assert to make sure rate limiter doesn't use locks

We want to be sure that atomic<size_t> is always lock-free, or the code
will be much slower than expected (and could even conceivably fail if
the lock implementation somehow calls back into libc++abi).




More information about the All-commits mailing list