This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Rename --[no-]lto-new-pass-manager to --[no-]lto-legacy-pass-manager
ClosedPublic

Authored by MaskRay on Dec 9 2020, 5:41 PM.

Details

Summary

Normally we should not delete options. However, the Clang driver passes
-plugin-opt={new,legacy}-pass-manager instead of
--[no-]lto-legacy-pass-manager (-plugin-opt=new-pass-manager has been used
since 7.0), and it is unlikely anyone will use the --lto-* style options directly.

So let's rename them to be consistent with the Clang driver option names.

Diff Detail

Event Timeline

MaskRay created this revision.Dec 9 2020, 5:41 PM
MaskRay requested review of this revision.Dec 9 2020, 5:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2020, 5:41 PM
aeubanks accepted this revision.Dec 9 2020, 5:50 PM
This revision is now accepted and ready to land.Dec 9 2020, 5:50 PM
This revision was landed with ongoing or failed builds.Dec 9 2020, 5:53 PM
This revision was automatically updated to reflect the committed changes.