[PATCH] D57835: Fix -ftime-report with -x ir
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 6 12:50:35 PST 2019
arsenm added a comment.
I partially solved the problem with double printing the reports. It's from this in cc1_main:
// If any timers were active but haven't been destroyed yet, print theirp
// results now. This happens in -disable-free mode.
On a source file, -ftime-report -disable-free prints one report. -ftime-report without disable-free prints 2. For the IR file, both happen either way and it double prints. The printing destructor can still be called from the ManagedStatic in PassTimingInfo
CHANGES SINCE LAST ACTION
More information about the cfe-commits