This is an archive of the discontinued LLVM Phabricator instance.

LTO: Hash the set of imported symbols for each module.
ClosedPublic

Authored by pcc on Mar 3 2017, 12:08 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Mar 3 2017, 12:08 PM
tejohnson accepted this revision.Mar 3 2017, 12:29 PM

LGTM, thanks. Is a similar fix needed in the libLTO handling?

This revision is now accepted and ready to land.Mar 3 2017, 12:29 PM
This revision was automatically updated to reflect the committed changes.
pcc added a comment.Mar 3 2017, 12:42 PM

LGTM, thanks. Is a similar fix needed in the libLTO handling?

It looks like we will need a similar fix here: http://llvm-cs.pcc.me.uk/lib/LTO/ThinLTOCodeGenerator.cpp#333