diff options
author | Martin Liska <mliska@suse.cz> | 2020-07-09 11:58:11 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-07-10 10:10:50 +0200 |
commit | 02947a87c4b3c8306210b3d5ae34839271b82c24 (patch) | |
tree | a01932ac9edec6c254e7e3bdefcca9dadad378a6 /gcc/dumpfile.h | |
parent | 08a94a95d10f311d2a83e6f4c076babd8afd6a3e (diff) | |
download | gcc-02947a87c4b3c8306210b3d5ae34839271b82c24.zip gcc-02947a87c4b3c8306210b3d5ae34839271b82c24.tar.gz gcc-02947a87c4b3c8306210b3d5ae34839271b82c24.tar.bz2 |
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.
Diffstat (limited to 'gcc/dumpfile.h')
-rw-r--r-- | gcc/dumpfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index 00e175a..ee9e602 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -48,6 +48,7 @@ enum tree_dump_index TDI_gimple, /* dump each function after gimplifying it */ TDI_nested, /* dump each function after unnesting it */ TDI_lto_stream_out, /* dump information about lto streaming */ + TDI_profile_report, /* dump information about profile quality */ TDI_lang_all, /* enable all the language dumps. */ TDI_tree_all, /* enable all the GENERIC/GIMPLE dumps. */ |