Revert "Decouple dllexport/dllimport from linkage"
Revert this for now until I fix an issue in Clang with it.
This reverts commit r199204.
llvm-svn: 199207
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 7b2d1d7..fd10a4a 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -697,7 +697,7 @@
return false;
// Can't handle DLLImport.
- if (GV->hasDLLImportStorageClass())
+ if (GV->hasDLLImportLinkage())
return false;
// Can't handle TLS.