]> granicus.if.org Git - clang/commit
Perform an acquire memory barrier on the fast path of a thread-safe
authorJohn McCall <rjmccall@apple.com>
Fri, 17 Jun 2011 07:33:57 +0000 (07:33 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 17 Jun 2011 07:33:57 +0000 (07:33 +0000)
commit0502a224984a26087ea4d64e8e5d2dd4dca432f6
tree99b9f567851006efd02865f6ec262661b9a4fa67
parent71c482c76c67ad4240757c4e319ffdb72272b8ee
Perform an acquire memory barrier on the fast path of a thread-safe
static initializer check, as required by the Itanium ABI.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/static-init.cpp