This is an archive of the discontinued LLVM Phabricator instance.

[NewPassManager] Pass the -fdebug-pass-manager flag setting into the Analysis managers to match what we do in opt
ClosedPublic

Authored by craig.topper on Nov 14 2017, 12:04 AM.

Details

Summary

Currently the -fdebug-pass-manager flag for clang doesn't enable the debug logging in the analysis managers. This is different than what the switch does when passed to opt.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Nov 14 2017, 12:04 AM
chandlerc accepted this revision.Nov 14 2017, 12:10 AM

LGTM, nice catch!

Maybe update one of the new PM tests to check that this debug printing is available? =D

This revision is now accepted and ready to land.Nov 14 2017, 12:10 AM
This revision was automatically updated to reflect the committed changes.