This is an archive of the discontinued LLVM Phabricator instance.

[lld] Optimize undefined weak symbols in LTO link.
Needs ReviewPublic

Authored by eugenis on Oct 20 2016, 5:27 PM.

Details

Reviewers
ruiu
pcc
Summary

This is the LLD side of D25854

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis updated this revision to Diff 75377.Oct 20 2016, 5:27 PM
eugenis retitled this revision from to [lld] Optimize undefined weak symbols in LTO link..
eugenis updated this object.
eugenis added reviewers: pcc, ruiu.
eugenis set the repository for this revision to rL LLVM.
eugenis added a subscriber: llvm-commits.
eugenis updated this revision to Diff 75380.Oct 20 2016, 5:32 PM
eugenis added inline comments.
ELF/LTO.cpp
115

I'm not sure this condition is correct. isUndefined() is true for non-prevailing definitions, which I try to avoid.