This is an archive of the discontinued LLVM Phabricator instance.

[LLD][gold] Add -plugin-opt=no-new-pass-manager
ClosedPublic

Authored by MaskRay on Dec 8 2020, 11:01 PM.

Details

Summary

-DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=on configured LLD and LLVMgold.so
will use the new pass manager by default. Add an option to
use the legacy pass manager. This will also be used by the Clang driver
when -fno-new-pass-manager (D92915) / -fno-experimental-new-pass-manager is set.

Diff Detail

Event Timeline

MaskRay created this revision.Dec 8 2020, 11:01 PM
MaskRay requested review of this revision.Dec 8 2020, 11:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2020, 11:01 PM
MaskRay edited the summary of this revision. (Show Details)Dec 8 2020, 11:02 PM
aeubanks accepted this revision.Dec 8 2020, 11:58 PM
This revision is now accepted and ready to land.Dec 8 2020, 11:58 PM

@tejohnson Are you fine with -plugin-opt=no-new-pass-manager? 😃

tejohnson accepted this revision.Dec 9 2020, 12:51 PM

LGTM with a minor fix: Patch description has a typo, mentions -fno-pass-manager, I think this should be -fno-new-pass-manager?

MaskRay edited the summary of this revision. (Show Details)Dec 9 2020, 1:22 PM
This revision was landed with ongoing or failed builds.Dec 9 2020, 1:31 PM
This revision was automatically updated to reflect the committed changes.