]> granicus.if.org Git - clang/commit
CodeGen: Don't form weak dllexport aliases
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 24 Oct 2014 22:05:27 +0000 (22:05 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 24 Oct 2014 22:05:27 +0000 (22:05 +0000)
commit6ffe87b8077f3a72af850f3f4962d9a8a95d69fb
tree5ad778e814ef45249674b3c048563e7b4d6edcd4
parent2905e06e3816090ab7a87cd20a327bbb0a69f313
CodeGen: Don't form weak dllexport aliases

The MS linker cannot do anything interesting with these, it doesn't make
sense to emit them.

This fixes PR21373.

Differential Revision: http://reviews.llvm.org/D5986

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/dllexport.cpp