]> granicus.if.org Git - clang/commit
[ms-cxxabi] Fix linkage of dtor thunks for anonymous classes
authorReid Kleckner <reid@kleckner.net>
Wed, 11 Dec 2013 19:21:27 +0000 (19:21 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 11 Dec 2013 19:21:27 +0000 (19:21 +0000)
commit3087515b9bd5270554eb591387612e4564076dc3
treee58dce5143f0550ca9a37fdc097cbe9545ce5f47
parent3b147785f249c388f6c1a0a229aca245cb8ba473
[ms-cxxabi] Fix linkage of dtor thunks for anonymous classes

We were mistakengly giving linkonce_odr linkage instead of internal
linkage to the deleting and complete destructor thunks for classes in
anonymous namespaces.

Fixes PR17273.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197060 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/microsoft-abi-structors.cpp