This is an archive of the discontinued LLVM Phabricator instance.

Start using StringMap for TimingData
ClosedPublic

Authored by knaumov on Mar 27 2020, 12:20 PM.

Details

Summary

In our downstream, we have a problem that some passes have their names exist only for the period of their execution. Because of the following structure, for compilations with temporary passes, it throws an error.
In this fix, I am handling the cases of having passes disappearing after use and not being called for a check of Timer for them.
This fix only adds the functionality to the time-passes flag but doesn't change its behavior for the rest cases.

Diff Detail

Event Timeline

knaumov created this revision.Mar 27 2020, 12:20 PM
This revision is now accepted and ready to land.Apr 8 2020, 6:36 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2020, 9:13 AM