llvm-project/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 [libc++] Tolerate NaN returning random distributions for now 2019-12-12 17:11:13 -05:00
include [libcxx/variant] Correctly propagate return type of the visitor. 2020-08-17 10:53:59 -07:00
lib Add optimization to basic_string::assign for compile-time known constant values. 2020-06-29 14:34:34 -04:00
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 [libc++] Implement P0551 2020-07-13 13:42:26 -04:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Build the dylib with -faligned-allocation 2020-07-23 14:04:00 -04:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00