This is an archive of the discontinued LLVM Phabricator instance.

[Driver][MachineOutliner] Support outlining option with LTO
ClosedPublic

Authored by yroux on Dec 16 2020, 2:26 AM.

Details

Summary

This patch propagates the -moutline flag when LTO is enabled and avoids passing it explicitly to the linker plugin.

Diff Detail

Event Timeline

yroux created this revision.Dec 16 2020, 2:26 AM
yroux requested review of this revision.Dec 16 2020, 2:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2020, 2:26 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
paquette accepted this revision.Jan 5 2021, 9:28 AM

LGTM

This revision is now accepted and ready to land.Jan 5 2021, 9:28 AM
This revision was landed with ongoing or failed builds.Jan 6 2021, 7:04 AM
This revision was automatically updated to reflect the committed changes.