2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
10 lto-dump---Tool for dumping LTO object files.
11 ---------------------------------------------
20 [ :option:`-demangle` ]
21 [ :option:`-defined-only` ]
22 [ :option:`-print-value` ]
23 [ :option:`-name-sort` ]
24 [ :option:`-size-sort` ]
25 [ :option:`-reverse-sort` ]
26 [ :option:`-no-sort` ]
27 [ :option:`-symbol=` ]
28 [ :option:`-objects` ]
29 [ :option:`-type-stats` ]
30 [ :option:`-tree-stats` ]
31 [ :option:`-gimple-stats` ]
32 [ :option:`-dump-level=` ]
33 [ :option:`-dump-body=` ]
34 [ :option:`-help` ] :samp:`{lto-dump}`
40 Usage: lto-dump [OPTION] ... objfiles
45 :command:`lto-dump` is a tool you can use in conjunction with GCC to
46 dump link time optimization object files.
53 Dumps list of details of functions and variables.
57 Dump the demangled output.
59 .. option:: -defined-only
61 Dump only the defined symbols.
63 .. option:: -print-value
65 Dump initial values of the variables.
67 .. option:: -name-sort
69 Sort the symbols alphabetically.
71 .. option:: -size-sort
73 Sort the symbols according to size.
75 .. option:: -reverse-sort
77 Dump the symbols in reverse order.
81 Dump the symbols in order of occurrence.
85 Dump the details of specific symbol.
89 Dump the details of LTO objects.
91 .. option:: -type-stats
93 Dump the statistics of tree types.
95 .. option:: -tree-stats
97 Dump the statistics of trees.
99 .. option:: -gimple-stats
101 Dump the statistics of gimple statements.
103 .. option:: -dump-level=
105 For deciding the optimization level of body.
107 .. option:: -dump-body=
109 Dump the specific gimple body.
113 Display the dump tool help.
117 .. include:: copyright.rst