1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-svn: 48176
This commit is contained in:
Anton Korobeynikov 2008-03-10 22:33:22 +00:00
parent 863da1c28c
commit 7ce7d7173a

View File

@ -384,7 +384,7 @@ static bool GetLinkageResult(GlobalValue *Dest, GlobalValue *Src,
LinkFromSrc = true;
LT = Src->getLinkage();
} else if (Src->isDeclaration()) {
// If Src is external or if both Src & Drc are external.. Just link the
// If Src is external or if both Src & Dest are external.. Just link the
// external globals, we aren't adding anything.
if (Src->hasDLLImportLinkage()) {
// If one of GVs has DLLImport linkage, result should be dllimport'ed.