aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-03-10 22:36:35 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-03-10 22:36:35 +0000
commitb8cdaf7099898d7c0eef4769bf6a89f39e7decc2 (patch)
tree72fa50bcad49470ffeca9ff3c4a2c24b22ee7722
parent817bf2aeb22db13d03beb15e9bf17c425d0c694d (diff)
Typo: 'function' => 'alias'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48183 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Linker/LinkModules.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp
index 8d8c0700fd..53fce4893f 100644
--- a/lib/Linker/LinkModules.cpp
+++ b/lib/Linker/LinkModules.cpp
@@ -717,9 +717,8 @@ static bool LinkAlias(Module *Dest, const Module *Src,
assert(NewGA && "No alias was created in destination module!");
- // If the symbol table renamed the function, but it is an externally
- // visible symbol, DGV must be an existing function with internal
- // linkage. Rename it.
+ // If the symbol table renamed the alias, but it is an externally visible
+ // symbol, DGV must be an global value with internal linkage. Rename it.
if (NewGA->getName() != SGA->getName() &&
!NewGA->hasInternalLinkage())
ForceRenaming(NewGA, SGA->getName());