mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 17:28:54 +00:00
Typo: 'function' => 'alias'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48183 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -717,9 +717,8 @@ static bool LinkAlias(Module *Dest, const Module *Src,
|
|||||||
|
|
||||||
assert(NewGA && "No alias was created in destination module!");
|
assert(NewGA && "No alias was created in destination module!");
|
||||||
|
|
||||||
// If the symbol table renamed the function, but it is an externally
|
// If the symbol table renamed the alias, but it is an externally visible
|
||||||
// visible symbol, DGV must be an existing function with internal
|
// symbol, DGV must be an global value with internal linkage. Rename it.
|
||||||
// linkage. Rename it.
|
|
||||||
if (NewGA->getName() != SGA->getName() &&
|
if (NewGA->getName() != SGA->getName() &&
|
||||||
!NewGA->hasInternalLinkage())
|
!NewGA->hasInternalLinkage())
|
||||||
ForceRenaming(NewGA, SGA->getName());
|
ForceRenaming(NewGA, SGA->getName());
|
||||||
|
Reference in New Issue
Block a user