diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-18 02:12:53 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-18 02:12:53 +0000 |
commit | df93bad1fe0abfa58a9ff4f2f490a39a9b95a315 (patch) | |
tree | c931a2e871bc706a73a59a78f3c83a4061c90142 /libcxx/test/std/experimental/algorithms | |
parent | ccc9826f566ddbc1bc977a9e0a2ef218ea485067 (diff) | |
download | bcm5719-llvm-df93bad1fe0abfa58a9ff4f2f490a39a9b95a315.tar.gz bcm5719-llvm-df93bad1fe0abfa58a9ff4f2f490a39a9b95a315.zip |
Enable building and using atomic shared_ptr for GCC.
Summary:
Currently the implementation of [util.smartptr.shared.atomic] is provided only when using Clang, and not with GCC. This is a relic of not having a GCC implementation of <atomic>, even though <atomic> isn't actually used in the implementation. This patch enables support for atomic shared_ptr functions when using GCC.
Note that this is not a header only change. Previously only Clang builds of libc++.so would provide the required symbols. There is no reason for this restriction.
After this change both Clang and GCC builds should be binary compatible with each other WRT these symbols.
Reviewers: mclow.lists, rmaprath, EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D21407
llvm-svn: 273076
Diffstat (limited to 'libcxx/test/std/experimental/algorithms')
0 files changed, 0 insertions, 0 deletions