Typo
authorAnton Korobeynikov <asl@math.spbu.ru>
Mon, 10 Mar 2008 22:33:22 +0000 (22:33 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Mon, 10 Mar 2008 22:33:22 +0000 (22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48176 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkModules.cpp

index ad6852dce6abc8e693af2cab2bc507f8648223cf..78cbf3efd2bb4f371ff6828d46f108bb79fd1917 100644 (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.