diff options
author | Dimitry Andric <dimitry@andric.com> | 2015-09-22 18:55:37 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2015-09-22 18:55:37 +0000 |
commit | 66aa3a7f9e250d623bf89e11c32b56c47f025676 (patch) | |
tree | 0741a836f69c33919445b25b7708a8698b1e7acf /clang/lib/StaticAnalyzer/Core/SValBuilder.cpp | |
parent | 4e6b3b25805099c21ed3687368748c4a557f1a98 (diff) | |
download | bcm5719-llvm-66aa3a7f9e250d623bf89e11c32b56c47f025676.tar.gz bcm5719-llvm-66aa3a7f9e250d623bf89e11c32b56c47f025676.zip |
Add placeholder __libcpp_relaxed_store() for when atomic builtins are not available.
Summary:
In rL241532, atomic_support.h was added, which provides handling of
atomic operations for libc++. When atomic builtins are not available,
it emits a warning about being unsupported, but it still provides a
number of stubs for the required functions.
However, it misses a stub for `__libcpp_relaxed_store()`. Add it, by
using the same implementation as for `__libcpp_atomic_store()`.
(Note that I encountered this on arm-freebsd, which still defaults to
armv4, and does not have the runtime libcalls to support atomic
builtins. For now, I have simply disabled using them.)
Reviewers: mclow.lists, EricWF
Subscribers: theraven, cfe-commits, jroelofs, majnemer, aemerson
Differential Revision: http://reviews.llvm.org/D13051
llvm-svn: 248313
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/SValBuilder.cpp')
0 files changed, 0 insertions, 0 deletions