1
0
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:
Rafael Espindola 2018-01-24 19:11:24 +00:00
parent a1e5ae82ac
commit a39721e808

View File

@ -641,7 +641,7 @@ LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
// Set the 'local' flag based on the linker resolution for this symbol.
if (Res.FinalDefinitionInLinkageUnit)
GV->setDSOLocal(Res.FinalDefinitionInLinkageUnit);
GV->setDSOLocal(true);
}
// 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