mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Simplify. NFC.
Thanks to Teresa Johnson for the suggestion. llvm-svn: 323365
This commit is contained in:
parent
a1e5ae82ac
commit
a39721e808
@ -641,7 +641,7 @@ LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
|
|||||||
|
|
||||||
// Set the 'local' flag based on the linker resolution for this symbol.
|
// Set the 'local' flag based on the linker resolution for this symbol.
|
||||||
if (Res.FinalDefinitionInLinkageUnit)
|
if (Res.FinalDefinitionInLinkageUnit)
|
||||||
GV->setDSOLocal(Res.FinalDefinitionInLinkageUnit);
|
GV->setDSOLocal(true);
|
||||||
}
|
}
|
||||||
// Common resolution: collect the maximum size/alignment over all commons.
|
// Common resolution: collect the maximum size/alignment over all commons.
|
||||||
// We also record if we see an instance of a common as prevailing, so that
|
// We also record if we see an instance of a common as prevailing, so that
|
||||||
|
Loading…
Reference in New Issue
Block a user