This is an archive of the discontinued LLVM Phabricator instance.

Enabling new pass manager in LTO (and thinLTO) link step via -fexperimental-new-pass-manager option
ClosedPublic

Authored by gyiu on Oct 3 2017, 2:39 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

gyiu created this revision.Oct 3 2017, 2:39 PM
tejohnson edited edge metadata.Oct 3 2017, 5:14 PM

Thanks for adding this. Please add a test like the one for -ffunction-sections (tools/clang/test/Driver/gold-lto-sections.c).

gyiu updated this revision to Diff 117677.Oct 4 2017, 8:52 AM

Add new testcase to make sure plugin-opt is passed to gold linker to enable new pass manager.

tejohnson accepted this revision.Oct 4 2017, 8:56 AM

LGTM
thanks!

This revision is now accepted and ready to land.Oct 4 2017, 8:56 AM
This revision was automatically updated to reflect the committed changes.