This is an archive of the discontinued LLVM Phabricator instance.

[IR] Copy comdats in GlobalObject::copyAttributesFrom
ClosedPublic

Authored by rnk on May 25 2016, 9:36 AM.

Details

Summary

This is probably correct for all uses except cross-module IR linking,
where we need to move the comdat from the source module to the
destination module.

Fixes PR27870.

Diff Detail

Event Timeline

rnk updated this revision to Diff 58441.May 25 2016, 9:36 AM
rnk retitled this revision from to [IR] Copy comdats in GlobalObject::copyAttributesFrom.
rnk added reviewers: majnemer, rafael.
rnk updated this object.
majnemer accepted this revision.May 25 2016, 10:14 AM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 25 2016, 10:14 AM
rnk edited edge metadata.May 25 2016, 11:27 AM
rnk added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.