]> granicus.if.org Git - clang/commit
CodeGenCXX: no default dllimport storage for mingw
authorMartell Malone <martellmalone@gmail.com>
Sat, 4 Nov 2017 02:15:49 +0000 (02:15 +0000)
committerMartell Malone <martellmalone@gmail.com>
Sat, 4 Nov 2017 02:15:49 +0000 (02:15 +0000)
commitbe95e325b8e301e87b32edba022796726dfe90f7
tree67fb747e6063fdf89e892d9071c44cde85c2d35f
parentd3b9436f94314d1aa6ef75af9d9160d0beca0c88
CodeGenCXX: no default dllimport storage for mingw

GNU frontends don't have options like /MT, /MD
This fixes a few link error regressions with libc++ and libc++abi

Reviewers: rnk, mstorsjo, compnerd

Differential Revision: https://reviews.llvm.org/D33620

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317398 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/runtime-dllstorage.cpp