LTO: Hash the set of imported symbols for each module.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 3 Mar 2017 20:25:30 +0000 (20:25 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 3 Mar 2017 20:25:30 +0000 (20:25 +0000)
commit54a52b75693853162bdba607a70f3e5fecbffb80
treeb5de602dec22eac4dd3f95f4cb8b59f77bd91027
parent1e021a162ed10c6b832cbbdd829396d55a0a71c7
LTO: Hash the set of imported symbols for each module.

This set may affect code generation and is sensitive to link order (and
possibly in the future to the linker's choice of prevailing symbol), so we
need to include it.

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

llvm-svn: 296907
llvm/lib/LTO/LTO.cpp
llvm/test/ThinLTO/X86/Inputs/cache-import-lists1.ll [new file with mode: 0644]
llvm/test/ThinLTO/X86/Inputs/cache-import-lists2.ll [new file with mode: 0644]
llvm/test/ThinLTO/X86/cache-import-lists.ll [new file with mode: 0644]