diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-10 08:20:37 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-10 08:20:37 +0000 |
commit | 121f3051bd4184274fc0bb0f727eab019a65fd98 (patch) | |
tree | e470b384aebdcae27074d3368738711eddd6bf03 /gcc/doc | |
parent | 8001abc8ca9e5ecdb5eeff380bd893053808b051 (diff) | |
download | gcc-121f3051bd4184274fc0bb0f727eab019a65fd98.tar.gz |
2004-09-10 Paolo Bonzini <bonzini@gnu.org>
* cgraph.h (cgraph_dump_file): Do not declare.
* cgraphunit.c (cgraph_dump_file): Declare as static.
(init_cgraph): New.
* toplev.c (cgraph_dump_file): Do not declare.
(compile_file): Call init_cgraph.
* tree-dump.c (dump_files): Add IPA dump file, remove
XML dump of call graph.
(get_dump_file_name): Support IPA dump file naming scheme.
* tree.h (enum tree_dump_index): Add IPA dump file, remove
XML dump of call graph.
* doc/invoke.texi (Debugging Options): Document the new options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index bee642c8323..6bf49e46567 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -249,6 +249,7 @@ Objective-C and Objective-C++ Dialects}. @gccoptlist{-d@var{letters} -dumpspecs -dumpmachine -dumpversion @gol -fdump-unnumbered -fdump-translation-unit@r{[}-@var{n}@r{]} @gol -fdump-class-hierarchy@r{[}-@var{n}@r{]} @gol +-fdump-ipa-all -fdump-ipa-cgraph @gol -fdump-tree-all @gol -fdump-tree-original@r{[}-@var{n}@r{]} @gol -fdump-tree-optimized@r{[}-@var{n}@r{]} @gol @@ -3655,6 +3656,22 @@ to the source file name. If the @samp{-@var{options}} form is used, @var{options} controls the details of the dump as described for the @option{-fdump-tree} options. +@item -fdump-ipa-@var{switch} +@opindex fdump-ipa +Control the dumping at various stages of inter-procedural analyisis +language tree to a file. The file name is generated by appending a switch +specific suffix to the source file name. The following dumps are possible: + +@table @samp +@item all +Enables all inter-procedural analysis dumps; currently the only produced +dump is the @samp{cgraph} dump. + +@item cgraph +Dumps information about call-graph optimization, unused function removal, +and inlining decisions. +@end table + @item -fdump-tree-@var{switch} @r{(C and C++ only)} @itemx -fdump-tree-@var{switch}-@var{options} @r{(C and C++ only)} @opindex fdump-tree |