llvm-project/libcxx/utils
Louis Dionne e0184357fc [libc++] Link against libatomic when it is found
Before this patch, we tried detecting whether small atomics were available
without linking against libatomic. However, that's not really what we want
to know -- instead, we want to know what's required in order to support
atomics fully, which is to link against libatomic when it's provided.

That is both much simpler, and it doesn't suffer the problem that we would
not link against libatomic when small atomics didn't require it, which
lead to non-lockfree atomics never working.

Furthermore, because we understand that some platforms might not want to
(or be able to) ship non-lockfree atomics, we add that notion to the test
suite, independently of a potential extern library.

After this patch, we therefore:
(1) Link against libatomic when it is provided
(2) Independently detect whether non-lockfree atomics are supported in
    the test suite, regardless of whether that means we're linking against
    an external library or not (which is an implementation detail).

Differential Revision: https://reviews.llvm.org/D81190
2020-06-05 09:28:44 -04:00
..
ci [libc++] Disable LLVM benchmarks in the Apple build 2020-06-04 12:03:25 -04:00
docker Revert "[libc++] Run the builders Docker containers 'as 'buildbot instead of 'root'" 2020-03-26 08:08:01 -04:00
gdb/libcxx Correctly handle using foo = std::foo inside namespaces. 2020-03-26 11:20:09 -07:00
google-benchmark [RISCV][PowerPC] Fix google/benchmark benchmark::cycleclock::Now 2020-04-18 09:32:19 +01:00
libcxx [libc++] Link against libatomic when it is found 2020-06-05 09:28:44 -04:00
symcheck-blacklists Start libc++ python cleanup and consolidation. 2017-02-09 22:53:14 +00:00
cat_files.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
generate_feature_test_macro_components.py [libc++] Complete overhaul of constexpr support in std::array 2020-05-28 12:31:06 -04:00
graph_header_deps.py [libc++] Add utility to generate and display libc++'s header dependency 2020-02-15 18:47:17 -05:00
merge_archives.py [libcxx] Drop -D option from libtool when merging archives 2020-03-02 16:07:18 -08:00
run.py [libc++] Use proper shell escaping in the executors 2020-04-18 11:22:42 -04:00
ssh.py [libc++] NFC: Do not print the environment on remote hosts 2020-05-06 11:33:13 -04:00
sym_diff.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
sym_extract.py Make the sym_diff utilities more useful. 2019-02-12 00:00:43 +00:00
sym_match.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00