llvm/libcxx
Mott, Jeffrey T ca77ab494a Disable use of _ExtInt with '__atomic' builtins
We're (temporarily) disabling ExtInt for the '__atomic' builtins so we can better design their behavior later. The idea is until we do an audit/design for the way atomic builtins are supposed to work with _ExtInt, we should leave them restricted so they don't limit our future options, such as by binding us to a sub-optimal implementation via ABI.

Example after this change:

    $ cat test.c

        void f(_ExtInt(64) *ptr) {
          __atomic_fetch_add(ptr, 1, 0);
        }

    $ clang -c test.c

        test.c:2:22: error: argument to atomic builtin of type '_ExtInt' is not supported
          __atomic_fetch_add(ptr, 1, 0);
                             ^
        1 error generated.

Differential Revision: https://reviews.llvm.org/D84049
2020-08-18 09:17:26 -07:00
..
benchmarks Revert "[libc++] Use CMake interface targets to setup benchmark flags" 2020-08-17 18:11:56 -07:00
cmake [libc++] Fix eager generator expression in DefineLinkerScript 2020-07-31 11:20:19 -04:00
docs Reland [libcxx]Put clang::trivial_abi on smart pointers 2020-07-20 11:54:34 -04:00
fuzzing
include [libcxx/variant] Correctly propagate return type of the visitor. 2020-08-17 10:53:59 -07:00
lib
src [libc++] Build the dylib with C++17 to allow aligned new/delete 2020-07-22 14:47:29 -04:00
test Disable use of _ExtInt with '__atomic' builtins 2020-08-18 09:17:26 -07:00
utils [libc++] Ensure the CI scripts can find Ninja 2020-08-13 11:11:10 -04:00
www
.clang-format
.gitignore
appveyor-reqs-install.cmd
appveyor.yml
CMakeLists.txt [libc++] Build the dylib with -faligned-allocation 2020-07-23 14:04:00 -04:00
CREDITS.TXT
LICENSE.TXT
NOTES.TXT
TODO.TXT