This is an archive of the discontinued LLVM Phabricator instance.

[lld][COFF] Add command line options for LTO with new pass manager
ClosedPublic

Authored by dmajor on Nov 2 2020, 9:33 AM.

Details

Summary

This is more or less a port of rL329598 (D45275) to the COFF linker. Since there were already LTO-related settings under -opt:, I added them there instead of new flags.

Diff Detail

Event Timeline

dmajor created this revision.Nov 2 2020, 9:33 AM
dmajor requested review of this revision.Nov 2 2020, 9:33 AM
dmajor added a reviewer: rnk.Nov 4 2020, 10:04 AM

Oh, I didn't realize that Rui was inactive... trying rnk instead, based on recent commits under lld/COFF/.

rnk accepted this revision.Nov 5 2020, 10:43 AM

lgtm

This revision is now accepted and ready to land.Nov 5 2020, 10:43 AM