diff options
author | Louis Dionne <ldionne@apple.com> | 2020-04-22 10:23:38 -0400 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2020-07-22 14:49:50 -0400 |
commit | 16779f8084541b626578a4bda2f51ee741dcd7bf (patch) | |
tree | 67d5c0d71c62711d7aa73eb770d58ab8f29f26ad /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | e58660750e76fa36c62d6b515da291d0ffa53e2b (diff) | |
download | llvm-16779f8084541b626578a4bda2f51ee741dcd7bf.zip llvm-16779f8084541b626578a4bda2f51ee741dcd7bf.tar.gz llvm-16779f8084541b626578a4bda2f51ee741dcd7bf.tar.bz2 |
[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).
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions