[cfe-commits] r66691 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Duncan Sands baldrick at free.fr
Wed Mar 11 13:15:27 PDT 2009


Author: baldrick
Date: Wed Mar 11 15:15:27 2009
New Revision: 66691

URL: http://llvm.org/viewvc/llvm-project?rev=66691&view=rev
Log:
Adjust for linkage name change.

Modified:
    cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=66691&r1=66690&r2=66691&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Wed Mar 11 15:15:27 2009
@@ -757,7 +757,7 @@
       assert(0 && "Can't have auto or register globals");
     case VarDecl::None:
       if (!D->getInit())
-        GV->setLinkage(llvm::GlobalVariable::CommonAnyLinkage);
+        GV->setLinkage(llvm::GlobalVariable::CommonLinkage);
       else
         GV->setLinkage(llvm::GlobalVariable::ExternalLinkage);
       break;





More information about the cfe-commits mailing list