mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Clarify some important bits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -516,8 +516,9 @@ static bool LinkGlobals(Module *Dest, Module *Src,
|
|||||||
SGV->isConstant(), SGV->getLinkage(), /*init*/0,
|
SGV->isConstant(), SGV->getLinkage(), /*init*/0,
|
||||||
"", Dest);
|
"", Dest);
|
||||||
|
|
||||||
// Propagate alignment, section and visibility info.
|
// Set alignment allowing CopyGVAttributes merge it with alignment of SGV.
|
||||||
NewDGV->setAlignment(DGV->getAlignment());
|
NewDGV->setAlignment(DGV->getAlignment());
|
||||||
|
// Propagate alignment, section and visibility info.
|
||||||
CopyGVAttributes(NewDGV, SGV);
|
CopyGVAttributes(NewDGV, SGV);
|
||||||
|
|
||||||
// Make sure to remember this mapping...
|
// Make sure to remember this mapping...
|
||||||
|
Reference in New Issue
Block a user