]> granicus.if.org Git - clang/commit
CodeGen: Assign linkage to thread-wrappers correctly
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 5 May 2014 18:54:23 +0000 (18:54 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 5 May 2014 18:54:23 +0000 (18:54 +0000)
commita9cf72f94dab05055ac4b83c347a006ead632b82
treef1a5960bb14f563050c2eda5d0ffbae677fc23ba
parentfdea112f9cca521ca1d92820cfb12109d63def04
CodeGen: Assign linkage to thread-wrappers correctly

We would sometimes incorrectly give a thread-wrapper external linkage
instead of internal linkage if we had only CodeGen'd it's declaration,
not it's definition.

This fixes PR19655.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207988 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/cxx11-thread-local.cpp