]> granicus.if.org Git - clang/commit
CodeGen support for function-local static thread_local variables with
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 14 Apr 2013 23:01:42 +0000 (23:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 14 Apr 2013 23:01:42 +0000 (23:01 +0000)
commit04e517650569598e847c2ab609672e6df93effe5
tree6d717921ed048ee9beb7b631a0adb31984c02966
parentf6b4a6868cd292d211474abce98a7d9b541acf1b
CodeGen support for function-local static thread_local variables with
non-constant constructors or non-trivial destructors. Plus bugfixes for
thread_local references bound to temporaries (the temporaries themselves are
lifetime-extended to become thread_local), and the corresponding case for
std::initializer_list.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXXABI.cpp
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
test/CodeGenCXX/cxx11-thread-local.cpp [new file with mode: 0644]