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)
commitdbf74baee576ba200009bcead0117cc641d39071
tree98577d678a6974765c016c31024abc4ee444b2d8
parente45f58d8a90c2e9fbf4cf46dcf29f27e0deb3077
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.

llvm-svn: 179496
clang/lib/CodeGen/CGCXXABI.cpp
clang/lib/CodeGen/CGCXXABI.h
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
clang/test/CodeGenCXX/cxx11-thread-local.cpp [new file with mode: 0644]