[llvm-commits] [llvm] r48183 - /llvm/trunk/lib/Linker/LinkModules.cpp

Anton Korobeynikov asl at math.spbu.ru
Mon Mar 10 15:36:35 PDT 2008


Author: asl
Date: Mon Mar 10 17:36:35 2008
New Revision: 48183

URL: http://llvm.org/viewvc/llvm-project?rev=48183&view=rev
Log:
Typo: 'function' => 'alias'

Modified:
    llvm/trunk/lib/Linker/LinkModules.cpp

Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=48183&r1=48182&r2=48183&view=diff

==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Mon Mar 10 17:36:35 2008
@@ -717,9 +717,8 @@
 
     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());





More information about the llvm-commits mailing list