[compiler-rt] [builtins] Don't build __atomic_* by default.
authorEli Friedman <efriedma@codeaurora.org>
Thu, 14 Jun 2018 23:22:53 +0000 (23:22 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Thu, 14 Jun 2018 23:22:53 +0000 (23:22 +0000)
commit16c44560227cced92fbb61e3ab5bf403a74791f8
tree4f03fe676e85f62d4ed04cd6dfe9e021d5dff15f
parentbc023c968c7c085220f32445f1d8a08ad3b5290f
[compiler-rt] [builtins] Don't build __atomic_* by default.

The locks need to be implemented in a shared library to work correctly,
so they shouldn't be part of libclang_rt.builtins.a, except in
specialized scenarios where the user can prove it will only be linked
once.

Differential Revision: https://reviews.llvm.org/D47606

llvm-svn: 334779
compiler-rt/lib/builtins/CMakeLists.txt