]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gcc/lto-dump.rst
b1ca4a3707a0e8d7e3c6be74fd33b1610402c237
[thirdparty/gcc.git] / gcc / doc / gcc / lto-dump.rst
1 ..
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.
5
6 .. program:: lto-dump
7
8 .. _lto-dump:
9
10 lto-dump---Tool for dumping LTO object files.
11 ---------------------------------------------
12
13 .. only:: man
14
15 Synopsis
16 ^^^^^^^^
17
18 lto-dump
19 [ :option:`-list` ]
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}`
35
36 .. only:: not man
37
38 .. code-block::
39
40 Usage: lto-dump [OPTION] ... objfiles
41
42 Description
43 ^^^^^^^^^^^
44
45 :command:`lto-dump` is a tool you can use in conjunction with GCC to
46 dump link time optimization object files.
47
48 Options
49 ^^^^^^^
50
51 .. option:: -list
52
53 Dumps list of details of functions and variables.
54
55 .. option:: -demangle
56
57 Dump the demangled output.
58
59 .. option:: -defined-only
60
61 Dump only the defined symbols.
62
63 .. option:: -print-value
64
65 Dump initial values of the variables.
66
67 .. option:: -name-sort
68
69 Sort the symbols alphabetically.
70
71 .. option:: -size-sort
72
73 Sort the symbols according to size.
74
75 .. option:: -reverse-sort
76
77 Dump the symbols in reverse order.
78
79 .. option:: -no-sort
80
81 Dump the symbols in order of occurrence.
82
83 .. option:: -symbol=
84
85 Dump the details of specific symbol.
86
87 .. option:: -objects
88
89 Dump the details of LTO objects.
90
91 .. option:: -type-stats
92
93 Dump the statistics of tree types.
94
95 .. option:: -tree-stats
96
97 Dump the statistics of trees.
98
99 .. option:: -gimple-stats
100
101 Dump the statistics of gimple statements.
102
103 .. option:: -dump-level=
104
105 For deciding the optimization level of body.
106
107 .. option:: -dump-body=
108
109 Dump the specific gimple body.
110
111 .. option:: -help
112
113 Display the dump tool help.
114
115 .. only:: man
116
117 .. include:: copyright.rst