diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-12 05:08:17 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-12 05:08:17 +0000 |
commit | feea883de4e50eb5d24c723a269274ef0fd2e89f (patch) | |
tree | cdf8a600974d64a7fc63162bbedbefa46d92820a /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 0b1aef2bb0bb770ceca7ebf4281e46c3b8137697 (diff) | |
download | llvm-feea883de4e50eb5d24c723a269274ef0fd2e89f.zip llvm-feea883de4e50eb5d24c723a269274ef0fd2e89f.tar.gz llvm-feea883de4e50eb5d24c723a269274ef0fd2e89f.tar.bz2 |
Implement support for 18 of the GNU-compatible __atomic builtins.
This is not quite sufficient for libstdc++'s <atomic>: we still need
__atomic_test_and_set and __atomic_clear, and may need a more complete
__atomic_is_lock_free implementation.
We are also missing an implementation of __atomic_always_lock_free,
__atomic_nand_fetch, and __atomic_fetch_nand, but those aren't needed
for libstdc++.
llvm-svn: 154579
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions