Fixing 'Aquire' typo and libcxx build.
llvm-svn: 277456
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 8ddd3ef9c9eb13f3072390a4a2d1dd36d399e6ad
diff --git a/src/memory.cpp b/src/memory.cpp
index b9a741b..b685d12 100644
--- a/src/memory.cpp
+++ b/src/memory.cpp
@@ -117,7 +117,7 @@
// threads, and have them all get copied at once. The argument
// also doesn't apply for __release_shared, because an outstanding
// weak_ptr::lock() could read / modify the shared count.
- if (__libcpp_atomic_load(&__shared_weak_owners_, _AO_Aquire) == 0)
+ if (__libcpp_atomic_load(&__shared_weak_owners_, _AO_Acquire) == 0)
{
// no need to do this store, because we are about
// to destroy everything.