This is an archive of the discontinued LLVM Phabricator instance.

COFF: Fix the case where an object defines a weak external and its alias.
ClosedPublic

Authored by pcc on Jul 3 2015, 2:32 PM.

Details

Summary

This worked before, but only by accident, and only with assertions disabled.
We ended up storing a DefinedRegular symbol in the WeakAlias field,
and never using it as an Undefined.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 29035.Jul 3 2015, 2:32 PM
pcc retitled this revision from to COFF: Fix the case where an object defines a weak external and its alias..
pcc updated this object.
pcc added a reviewer: ruiu.
pcc added a subscriber: llvm-commits.
ruiu accepted this revision.Jul 3 2015, 2:47 PM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jul 3 2015, 2:47 PM
This revision was automatically updated to reflect the committed changes.