]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add -fdump-profile-report.
authorMartin Liska <mliska@suse.cz>
Thu, 9 Jul 2020 09:58:11 +0000 (11:58 +0200)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:17:06 +0000 (13:17 -0300)
commit797da60343b0382ed055da8880b87d36d02e5c27
tree796195c8a55b6eb8a598a5c7b210012af23e52bd
parent5e426dfbcd98b5a3a61a168baf88282e764261f3
Add -fdump-profile-report.

When using -fprofile-report, -fdump-profile-report can be used to
print the report to a foo.c.000i.profile-report file instead
of stderr. I see it handy for comparison purpose.

gcc/ChangeLog:

* dumpfile.c [profile-report]: Add new profile dump.
* dumpfile.h (enum tree_dump_index): Ad TDI_profile_report.
* passes.c (pass_manager::dump_profile_report): Change stderr
to dump_file.
gcc/dumpfile.c
gcc/dumpfile.h
gcc/passes.c