reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2966 if (GV->isDeclaration() && (!ND || !ND->hasAttr<DLLExportAttr>())) { 2967 GV->setDLLStorageClass(llvm::GlobalValue::DLLImportStorageClass); 2968 GV->setLinkage(llvm::GlobalValue::ExternalLinkage); 2970 GV->setDLLStorageClass(llvm::GlobalValue::DLLExportStorageClass); 2971 GV->setLinkage(llvm::GlobalValue::ExternalLinkage); 2975 if (CGM.getLangOpts().BlocksRuntimeOptional && GV->isDeclaration() && 2976 GV->hasExternalLinkage()) 2977 GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); 2979 CGM.setDSOLocal(GV);