summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-03-10 22:33:22 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-03-10 22:33:22 +0000
commit1f93c50ace4efe71b648c5c271b82b6cf79311e3 (patch)
treeb128d3854b62ad2f521a1def6dd1cb6be86c21eb /llvm/lib/Linker
parent7abdb438a1e25339b933b226f7a87d8e1aa0b2b5 (diff)
downloadbcm5719-llvm-1f93c50ace4efe71b648c5c271b82b6cf79311e3.tar.gz
bcm5719-llvm-1f93c50ace4efe71b648c5c271b82b6cf79311e3.zip
Typo
llvm-svn: 48176
Diffstat (limited to 'llvm/lib/Linker')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index ad6852dce6a..78cbf3efd2b 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -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.
OpenPOWER on IntegriCloud