This is an archive of the discontinued LLVM Phabricator instance.

Warn on nonexistent comdat sections in an /order file.
ClosedPublic

Authored by ruiu on Jan 29 2018, 12:42 PM.

Details

Summary

I didn't implement the feature in the original patch because I didn't
come up with an idea to do that easily and efficiently. Turned out that
that is actually easy to implement.

In this patch, we collect comdat sections before gc is run and warn on
nonexistent symbols in an order file.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

ruiu created this revision.Jan 29 2018, 12:42 PM
pcc accepted this revision.Jan 29 2018, 1:07 PM

LGTM

This revision is now accepted and ready to land.Jan 29 2018, 1:07 PM
This revision was automatically updated to reflect the committed changes.