This was only printing the clang frontend timer, and none of the
backend timers. Set the llvm global for enabling the backend time
report when creating the frontend timers, rather than in the
BackendConsumer constructor.
There's still something wrong with how the timers are managed though,
since the report seems to be printed twice for each one.
Can you, please, test -fexperimental-new-pass-manager mode as well?
Implementation of time-passes is different between legacy and newpm.