This is an archive of the discontinued LLVM Phabricator instance.

ModuleUtils: Stop using comdat members to generate unique module ids.
ClosedPublic

Authored by pcc on Oct 5 2017, 2:47 PM.

Details

Summary

It is possible for two modules to define the same set of external
symbols without causing a duplicate symbol error at link time,
as long as each of the symbols is a comdat member. So we cannot
use them as part of a unique id for the module.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Oct 5 2017, 2:47 PM
rnk accepted this revision.Oct 5 2017, 2:54 PM

Looks good.

This revision is now accepted and ready to land.Oct 5 2017, 2:54 PM
This revision was automatically updated to reflect the committed changes.