llvm/libc
Siva Chandra Reddy 1137255585 [libc] Add a class "Atomic" as a simple equivalent of std::atomic.
Only the methods currently required by the libc have been added.
Most of the existing uses of atomic operations have been switched over
to this new class. A future change will clean up the rest of uses.

This change now allows building mutex and condition variable code with a
C++ compiler which does not have stdatomic.h, for example g++.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120642
2022-02-28 23:51:44 +00:00
..
AOR_v20.02
benchmarks [libc][automemcpy] Discard aggrated samples from JSON 2022-02-18 15:24:13 +00:00
cmake/modules [libc] change ASAN condition to generator expression 2022-02-15 16:12:12 -08:00
config [libc] Add exit and atexit 2022-02-17 17:21:55 +00:00
docs Rewrite much of the index page for libc 2022-02-16 03:46:20 +00:00
fuzzing [libc] apply new lint rules 2021-12-07 10:49:47 -08:00
include [libc] Add a class "Atomic" as a simple equivalent of std::atomic. 2022-02-28 23:51:44 +00:00
lib
loader [lib][Obvious] Fix style in a few include directives. 2022-02-16 05:57:12 +00:00
spec [libc] Add exit and atexit 2022-02-17 17:21:55 +00:00
src [libc] Add a class "Atomic" as a simple equivalent of std::atomic. 2022-02-28 23:51:44 +00:00
test [libc] Add a class "Atomic" as a simple equivalent of std::atomic. 2022-02-28 23:51:44 +00:00
utils [libc] undefined reference in LibcTest.cpp 2022-02-09 20:45:56 +00:00
.clang-tidy [libc] Add a naming rule for global constants. 2022-01-19 22:11:16 +00:00
.gitignore Move LLVM Proposal to doc directory, create index 2022-01-29 00:29:31 +00:00
CMakeLists.txt [libc] Set default CXX_STANDARD to C++17 and let targets set their own standard if needed. 2022-02-04 09:59:21 -05:00
LICENSE.TXT
README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.