LTO: Include live bit in ThinLTO cache key.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Feb 2018 05:58:55 +0000 (05:58 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Feb 2018 05:58:55 +0000 (05:58 +0000)
commit7f1a5ba12a97ac978426e8c08a75070f66fcad38
tree19cfcd51d57e4ffa47c4bb496308bdff008e475a
parentca5841b4e4544f7b5da051a43ea778cb140c2536
LTO: Include live bit in ThinLTO cache key.

As of r323633, this bit started controlling whether symbol definitions
appear in object files, and it also became sensitive to the prevailing
bit, so it needs to be included in the key.

Differential Revision: https://reviews.llvm.org/D43109

llvm-svn: 324711
llvm/lib/LTO/LTO.cpp
llvm/test/LTO/Resolution/X86/cache-prevailing.ll [new file with mode: 0644]